From: guillaume.lambert Date: Mon, 12 Apr 2021 07:37:00 +0000 (+0200) Subject: Increase sims startup timeout in functional tests X-Git-Tag: 2.4.0~6 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=7be8ca32863719cb1df110f44aaaf6c6797532fd;p=transportpce.git Increase sims startup timeout in functional tests Many failures in the gate seem to appear because the sims do not start quickly enough. Signed-off-by: guillaume.lambert Change-Id: I9c9e77180cb7687052f18223ec69647b3fa52327 --- diff --git a/tests/transportpce_tests/common/test_utils.py b/tests/transportpce_tests/common/test_utils.py index 246da5c0f..8ec28c322 100644 --- a/tests/transportpce_tests/common/test_utils.py +++ b/tests/transportpce_tests/common/test_utils.py @@ -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")