Add timeout after start qemu for tests
This commit is contained in:
parent
873b35a18d
commit
bd27e890d1
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user