Message ID | 4A7954D7.3020409@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py index eba9b84..cbb01e7 100644 --- a/client/tests/kvm/kvm_vm.py +++ b/client/tests/kvm/kvm_vm.py @@ -382,6 +382,9 @@ class VM: self.process = kvm_subprocess.run_bg(qemu_command, None, logging.debug, "(qemu) ") + # wait a bit to give qemu enougth time to create the monitor socket + time.sleep(3) + if not self.process.is_alive(): logging.error("VM could not be created; " "qemu command failed:\n%s" % qemu_command)