From 049e158a8f08efab503a7e26bd600f20f6ee388f Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Tue, 9 Nov 2021 22:54:03 -0800 Subject: [PATCH] Don't write fake logs to the real test log This caused consternation as errors were logged but tests did not fail. It was expected to log! --- pkg/registry/core/service/storage/storage_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/registry/core/service/storage/storage_test.go b/pkg/registry/core/service/storage/storage_test.go index 8cf03b273ec..217aa4ed561 100644 --- a/pkg/registry/core/service/storage/storage_test.go +++ b/pkg/registry/core/service/storage/storage_test.go @@ -823,9 +823,7 @@ type fakeTestingT struct { func (f fakeTestingT) Helper() {} -func (f fakeTestingT) Errorf(format string, args ...interface{}) { - f.t.Logf(format, args...) -} +func (f fakeTestingT) Errorf(format string, args ...interface{}) {} func verifyEquiv(t testingTInterface, call string, tc *svcTestCase, got *api.Service) bool { t.Helper()