Commit 05cec7d5 authored by Xavier Thompson's avatar Xavier Thompson

software/theia: Allow retrying instanciation in resiliency tests

parent 4b4e27fe
...@@ -187,7 +187,7 @@ class ExportAndImportMixin(object): ...@@ -187,7 +187,7 @@ class ExportAndImportMixin(object):
old_value = self.slap._force_slapos_node_instance_all old_value = self.slap._force_slapos_node_instance_all
self.slap._force_slapos_node_instance_all = True self.slap._force_slapos_node_instance_all = True
try: try:
self.slap.waitForInstance(error_lines=0) self.slap.waitForInstance(max_retry=2, error_lines=0)
except SlapOSNodeCommandError as e: except SlapOSNodeCommandError as e:
s = str(e) s = str(e)
self.assertNotIn("Promise 'resiliency-export-promise.py' failed", s) self.assertNotIn("Promise 'resiliency-export-promise.py' failed", s)
......
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