Skip to content

Commit

Permalink
reset sleep time during turning up ports (#1502)
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Wang <[email protected]>
  • Loading branch information
RyoYang authored Jun 21, 2022
1 parent 09b7540 commit 3128743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sai_test/config/port_configer.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def turn_up_and_check_ports(self, port_list):
port_attr = sai_thrift_get_port_attribute(self.client, port_id, oper_status=True)
if port_attr['oper_status'] != SAI_PORT_OPER_STATUS_UP:
all_ports_are_up = False
time.sleep(1)
time.sleep(3)
print("port {} is down, status: {}. Reset Admin State.".format(port_id, port_attr['oper_status']))
sai_thrift_set_port_attribute(
self.client,
Expand Down

0 comments on commit 3128743

Please sign in to comment.