This change will expose the max timeout used to stop a controller.
The value is not being changed, it just allows robot to override
the default via the "-v" parameter. Example:
pybot -v CONTROLLER_STOP_TIMEOUT:240
Change-Id: Ica23742006d4eaef5319b4faed29d9ed20866387
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
: FOR ${ip} IN @{controllers}
\ Run Command On Remote System ${ip} ${cmd}
: FOR ${ip} IN @{controllers}
- \ Wait Until Keyword Succeeds 120 s 3 s Controller Down Check ${ip}
+ \ Wait Until Keyword Succeeds ${CONTROLLER_STOP_TIMEOUT} s 3 s Controller Down Check ${ip}
Start One Or More Controllers
[Arguments] @{controllers}
MININET_PASSWORD = '' # empty means use keys
KEYFILE_PASS = 'any'
SSH_KEY = 'id_rsa'
+CONTROLLER_STOP_TIMEOUT = 120 # Max number of seconds test will wait for a controller to stop
# KARAF Variaable
KARAF_SHELL_PORT = '8101'