From ff034ffbc90077985231df151cefa44488639282 Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Sat, 12 Jan 2019 21:33:55 -0500 Subject: [PATCH] Update drivers/qemu/driver_test.go use t.Logf instead of fmt.Printf Co-Authored-By: nickethier --- drivers/qemu/driver_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/qemu/driver_test.go b/drivers/qemu/driver_test.go index 9abe887cd..ebd088a66 100644 --- a/drivers/qemu/driver_test.go +++ b/drivers/qemu/driver_test.go @@ -362,7 +362,7 @@ func TestQemuDriver_Stats(t *testing.T) { select { case stats := <-statsCh: - fmt.Printf("CPU:%+v Memory:%+v\n", stats.ResourceUsage.CpuStats, stats.ResourceUsage.MemoryStats) + t.Logf("CPU:%+v Memory:%+v\n", stats.ResourceUsage.CpuStats, stats.ResourceUsage.MemoryStats) require.NotZero(stats.ResourceUsage.MemoryStats.RSS) require.NoError(harness.DestroyTask(task.ID, true)) case <-time.After(time.Second * 1):