diff --git a/autotests/testConnectAutoconnect/validation.py b/autotests/testConnectAutoconnect/validation.py index 4b03b423..a7bc60b0 100644 --- a/autotests/testConnectAutoconnect/validation.py +++ b/autotests/testConnectAutoconnect/validation.py @@ -31,7 +31,11 @@ class TestConnectAutoconnect(unittest.TestCase): ordered_network.network_object.connect() return else: - ordered_network.network_object.connect() + try: + ordered_network.network_object.connect() + except: + del wd + raise condition = 'obj.connected' wd.wait_for_object_condition(ordered_network.network_object, condition)