Improve test logging

This commit is contained in:
Michael Schurter 2018-02-12 11:25:52 -08:00
parent 0ac43a7622
commit ed6bce2ccf

View file

@ -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)
}