1
0

Add timeout after start qemu for tests

This commit is contained in:
dump_stack() 2019-12-27 07:52:26 +00:00
parent 873b35a18d
commit bd27e890d1
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -116,6 +116,7 @@ func startTestQemu(t *testing.T, timeout time.Duration) (q *System, err error) {
return
}
time.Sleep(time.Second)
return
}
@ -324,6 +325,8 @@ func TestSystemDebug(t *testing.T) {
return
}
time.Sleep(time.Second)
port := 45256
q.Debug(fmt.Sprintf("tcp::%d", port))