Increase controller startup timeout in func tests 29/95729/3
authorguillaume.lambert <guillaume.lambert@orange.com>
Fri, 9 Apr 2021 12:22:34 +0000 (14:22 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Fri, 9 Apr 2021 12:27:15 +0000 (14:27 +0200)
Many failures in the gate seem to appear because the controller
does not start quickly enough.

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I24825131c48c017f4bcda79255bcdd27b17ab1cf

tests/transportpce_tests/common/test_utils.py

index 4e1044ebe7a2da2b18eef104a7b87db1ecf0a99e..fd4dbbf9341ba3b8ed16ce2f1f4651d384ec4d85 100644 (file)
@@ -99,7 +99,7 @@ def start_tpce():
     else:
         process = start_karaf()
         start_msg = KARAF_OK_START_MSG
-    if wait_until_log_contains(TPCE_LOG, start_msg, time_to_wait=60):
+    if wait_until_log_contains(TPCE_LOG, start_msg, time_to_wait=120):
         print("OpenDaylight started !")
     else:
         print("OpenDaylight failed to start !")