Update drivers/qemu/driver_test.go

use t.Logf instead of fmt.Printf

Co-Authored-By: nickethier <ncethier@gmail.com>
This commit is contained in:
Michael Schurter 2019-01-12 21:33:55 -05:00 committed by GitHub
parent 597b7b751d
commit ff034ffbc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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