Improve test logging
This commit is contained in:
parent
0ac43a7622
commit
ed6bce2ccf
|
@ -251,7 +251,7 @@ func TestQemuDriver_GracefulShutdown(t *testing.T) {
|
|||
|
||||
select {
|
||||
case <-resp.Handle.WaitCh():
|
||||
// VM exited gracefully!
|
||||
logger.Printf("[TEST] VM exited gracefully as expected")
|
||||
case <-time.After(killTimeout):
|
||||
t.Fatalf("VM did not exit gracefully exit before timeout: %s", killTimeout)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue