Commit 7397e5f3 authored by Benjamin Blanc's avatar Benjamin Blanc

testnode: ScalabilityTestRunner: Fix missing argument

parent 6dc11526
...@@ -209,7 +209,7 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),)) ...@@ -209,7 +209,7 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),))
and (max_time > (time.time()-start_time))): and (max_time > (time.time()-start_time))):
time.sleep(15) time.sleep(15)
if (time.time()-start_time) > max_time: if (time.time()-start_time) > max_time:
raise ValueError("Instance '%s' not '%s' after %s seconds" %(instance_title, state)) raise ValueError("Instance '%s' not '%s' after %s seconds" %(instance_title, state, str(time.time()-start_time))
self.log("Instance correctly '%s' after %s seconds." %(state, str(time.time()-start_time))) self.log("Instance correctly '%s' after %s seconds." %(state, str(time.time()-start_time)))
def _waitInstanceCreation(self, instance_title, max_time=MAX_CREATION_INSTANCE_TIME): def _waitInstanceCreation(self, instance_title, max_time=MAX_CREATION_INSTANCE_TIME):
......
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