Commit 22cd906b authored by Benjamin Blanc's avatar Benjamin Blanc

Fix! util: testnode: use dummy slapos answer with signal for getting instance state

parent 7da4afe0
...@@ -317,9 +317,11 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),)) ...@@ -317,9 +317,11 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),))
self.log("Wait for instance ready to test..") self.log("Wait for instance ready to test..")
self.log("Master testnode is waiting\ self.log("Master testnode is waiting\
do (kill -10 %s) to continue...", str(os.getpid())) do (kill -10 %s) to continue...", str(os.getpid()))
while (not self.isSoftwareReleaseReady(self.instance_title)): self._prepareDummySlapOSAnswer()
while (not self.isInstanceReady(self.instance_title)):
time.sleep(5) time.sleep(5)
pass pass
self._comeBackFromDummySlapOS()
self.log("Answer received.") self.log("Answer received.")
# Start only the current test # Start only the current test
......
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