1
0

Add timeout for enough time for qemu to be runned

This commit is contained in:
2018-11-25 14:43:58 +00:00
parent 4a247b229a
commit 6d7f6c5435
2 changed files with 20 additions and 8 deletions

View File

@ -333,6 +333,8 @@ func TestQemuSystemDebug(t *testing.T) {
}
defer q.Stop()
time.Sleep(time.Second)
if !openedPort(port) {
t.Fatal("Qemu debug port does not opened")
}