diff --git a/tests/integration/v3_auth_test.go b/tests/integration/v3_auth_test.go index 99df0561c59b..b391ff5c72a3 100644 --- a/tests/integration/v3_auth_test.go +++ b/tests/integration/v3_auth_test.go @@ -564,7 +564,7 @@ func TestV3AuthWatchErrorAndWatchId0(t *testing.T) { go func() { wChan := c.Watch(ctx, "k1", clientv3.WithRev(1)) watchResponse := <-wChan - fmt.Printf("watch response from k1: %v\n", watchResponse) + t.Logf("watch response from k1: %v", watchResponse) testutil.AssertTrue(t, len(watchResponse.Events) != 0) watchEndCh <- struct{}{} }()