@@ -95,7 +95,7 @@ def restore_config_by_config_reload(duthosts, enum_rand_one_per_hwsku_frontend_h
95
95
# we need remove mgmt vrf, otherwise it will cause host unreachable
96
96
remove_vrf (duthost , VRF_LIST [2 ])
97
97
localhost .wait_for (host = duthost .mgmt_ip , port = SONIC_SSH_PORT , search_regex = SONIC_SSH_REGEX ,
98
- state = 'absent' , delay = 1 , timeout = 30 )
98
+ state = 'absent' , delay = 1 , connect_timeout = 1 , timeout = 30 )
99
99
localhost .wait_for (host = duthost .mgmt_ip , port = SONIC_SSH_PORT , search_regex = SONIC_SSH_REGEX ,
100
100
state = 'started' , delay = 2 , timeout = 180 )
101
101
config_reload (duthost , safe_reload = True )
@@ -297,7 +297,7 @@ def configure_mgmt_vrf_test_data(self, localhost):
297
297
create_vrf (self .duthost , VRF_LIST [2 ])
298
298
# when create mgmt vrf, dut connection will be lost for a while
299
299
localhost .wait_for (host = self .duthost .mgmt_ip , port = SONIC_SSH_PORT , search_regex = SONIC_SSH_REGEX ,
300
- state = 'absent' , delay = 1 , timeout = 30 )
300
+ state = 'absent' , delay = 1 , connect_timeout = 1 , timeout = 30 )
301
301
localhost .wait_for (host = self .duthost .mgmt_ip , port = SONIC_SSH_PORT , search_regex = SONIC_SSH_REGEX ,
302
302
state = 'started' , delay = 2 , timeout = 180 )
303
303
0 commit comments