Increase sims startup timeout in functional tests 44/95744/4
authorguillaume.lambert <guillaume.lambert@orange.com>
Mon, 12 Apr 2021 07:37:00 +0000 (09:37 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Tue, 13 Apr 2021 08:59:56 +0000 (10:59 +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 fd4dbbf9341ba3b8ed16ce2f1f4651d384ec4d85..7ca0d6660d95431e8531abe4c3e389b63608eb4e 100644 (file)
@@ -79,7 +79,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")