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
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")