diff --git a/core/prof/profilecenter_test.go b/core/prof/profilecenter_test.go index 77e4b96d2..f0a16b7c7 100644 --- a/core/prof/profilecenter_test.go +++ b/core/prof/profilecenter_test.go @@ -8,7 +8,6 @@ import ( ) func TestReport(t *testing.T) { - once.Do(func() {}) assert.NotContains(t, generateReport(), "foo") report("foo", time.Second) assert.Contains(t, generateReport(), "foo")