Skip to content

Commit

Permalink
resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadalihussnain committed Jan 9, 2025
1 parent 82f7152 commit ad6b25e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions orchagent/port/portschema.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,4 @@
#define PORT_REUSE_THRESHOLD "reuse_threshold"
#define PORT_FLAP_PENALTY "flap_penalty"
#define PORT_DHCP_RATE_LIMIT "dhcp_rate_limit"
#define PORT_MODE "mode"

#define PORT_MODE "mode"
1 change: 0 additions & 1 deletion tests/test_fgnhg.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ def create_interface_n_fg_ecmp_config(dvs, nh_range_start, nh_range_end, fg_nhg_
dvs.port_admin_set(if_name_key, "up")
shutdown_link(dvs, app_db, i)
startup_link(dvs, app_db, i)
time.sleep(5)
bank = 1
if i >= (nh_range_end - nh_range_start)/2:
bank = 0
Expand Down
2 changes: 1 addition & 1 deletion tests/test_port_add_remove.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_remove_add_remove_port_with_buffer_cfg(self, dvs, testlog):
config_db.delete_entry('PORT', PORT_A)
num = asic_db.wait_for_n_keys("ASIC_STATE:SAI_OBJECT_TYPE_PORT",
num_of_ports-1,
polling_config = PollingConfig(polling_interval = 1, timeout = 10.00, strict = True))
polling_config = PollingConfig(polling_interval = 1, timeout = 5.00, strict = True))

# verify that the port was removed properly since all buffer configuration was removed also
assert len(num) == num_of_ports - 1
Expand Down

0 comments on commit ad6b25e

Please sign in to comment.