Fix the conditional check
Change-Id: I5f8a1593ab22071d2016908ea1bc96169b1cc862
This commit is contained in:
parent
675396a930
commit
82c6412cec
@ -136,7 +136,7 @@ class OctaviaFullyPopulatedLoadbalancer(vm_utils.VMScenario, neutron_utils.Neutr
|
|||||||
while attempts < max_attempts:
|
while attempts < max_attempts:
|
||||||
test_exitcode, stdout_test, stderr = jump_ssh.execute(cmd, timeout=60)
|
test_exitcode, stdout_test, stderr = jump_ssh.execute(cmd, timeout=60)
|
||||||
LOG.info("cmd: {}, stdout:{}".format(cmd, stdout_test))
|
LOG.info("cmd: {}, stdout:{}".format(cmd, stdout_test))
|
||||||
if test_exitcode != 0 and stdout_test != 1:
|
if stdout_test != '1':
|
||||||
LOG.error("ERROR with HTTP response {}".format(cmd))
|
LOG.error("ERROR with HTTP response {}".format(cmd))
|
||||||
attempts += 1
|
attempts += 1
|
||||||
time.sleep(30)
|
time.sleep(30)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user