Commit bf93aa5f authored by Nicolas Wavrant's avatar Nicolas Wavrant

resiliencytestsuite: update assertion to not takeover if import is currently happening

parent 7046b8c5
...@@ -87,7 +87,7 @@ class ResiliencyTestSuite(object): ...@@ -87,7 +87,7 @@ class ResiliencyTestSuite(object):
# Connect to takeover web interface # Connect to takeover web interface
takeover_page_content = urlopen(takeover_url).read() takeover_page_content = urlopen(takeover_url).read()
# Wait for importer script to be not running # Wait for importer script to be not running
while 'Importer script(s) of backup in progress: True' in takeover_page_content: while "<b>Importer script(s) of backup in progress:</b> True" in takeover_page_content:
time.sleep(10) time.sleep(10)
takeover_page_content = urlopen(takeover_url).read() takeover_page_content = urlopen(takeover_url).read()
# Do takeover # Do takeover
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment