Increase controller startup timeout in func tests 13/96513/2
authorguillaume.lambert <guillaume.lambert@orange.com>
Fri, 9 Apr 2021 12:22:34 +0000 (14:22 +0200)
committerChristophe Betoule <christophe.betoule@orange.com>
Fri, 11 Jun 2021 14:55:03 +0000 (16:55 +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 12900c00c40d8441c687a3b0a106179c48c24d3a..246da5c0f2ef9cac3b4bc9ee8f8e7492e20eb643 100644 (file)
@@ -98,7 +98,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 !")