Add timeout after start qemu for tests
This commit is contained in:
@@ -116,6 +116,7 @@ func startTestQemu(t *testing.T, timeout time.Duration) (q *System, err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
time.Sleep(time.Second)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -324,6 +325,8 @@ func TestSystemDebug(t *testing.T) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
time.Sleep(time.Second)
|
||||||
|
|
||||||
port := 45256
|
port := 45256
|
||||||
|
|
||||||
q.Debug(fmt.Sprintf("tcp::%d", port))
|
q.Debug(fmt.Sprintf("tcp::%d", port))
|
||||||
|
Reference in New Issue
Block a user