Increase sims startup timeout in functional tests 14/96514/2
authorguillaume.lambert <guillaume.lambert@orange.com>
Mon, 12 Apr 2021 07:37:00 +0000 (09:37 +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 sims
do not start quickly enough.

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

tests/transportpce_tests/common/test_utils.py

index 246da5c0f2ef9cac3b4bc9ee8f8e7492e20eb643..8ec28c322fb558074de7c128b7e26cccfc97da02 100644 (file)
@@ -78,7 +78,7 @@ def start_sims(sims_list):
         print("starting simulator for " + sim + "...")
         log_file = os.path.join(LOG_DIRECTORY, SIMS[sim]['logfile'])
         process = start_honeynode(log_file, SIMS[sim]['port'], SIMS[sim]['configfile'])
-        if wait_until_log_contains(log_file, HONEYNODE_OK_START_MSG, 100):
+        if wait_until_log_contains(log_file, HONEYNODE_OK_START_MSG, 200):
             print("simulator for " + sim + " started")
         else:
             print("simulator for " + sim + " failed to start")