Browse Source

Add timeout after start qemu for tests

tags/v1.3.0
dump_stack() 6 months ago
parent
commit
bd27e890d1
Signed by: Mikhail Klementev <blame@dumpstack.io> GPG Key ID: BE44DA8C062D87DC
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      qemu/qemu-kernel_test.go

+ 3
- 0
qemu/qemu-kernel_test.go 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))

Loading…
Cancel
Save