Commit 9834518d authored by Alain Takoudjou's avatar Alain Takoudjou

update tests

parent 3a41efec
......@@ -395,7 +395,6 @@ class QemuQMPWrapper(object):
raise ValueError("Cannot remove device %s" % dev_id)
# try soft reboot of the VM
print "Powering down the VM..."
self.powerdown()
system_exited = False
# wait for ~10 seconds if the system exit, else quit Qemu
......
......@@ -61,7 +61,7 @@ class TestQemuQMPWrapper(unittest.TestCase):
return int(f.read())
return 0
def fake_send(self, message, check_result=False):
def fake_send(self, message, retry=0, sleep=0.5):
self.call_stack_list.append(message)
if message.get('execute', '').startswith('query-'):
return self.returnQueryResult(message)
......
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