From 5048c350ae2f0c41e08fb4c41d2cdccd31b4a64f Mon Sep 17 00:00:00 2001 From: Kevin Wan Date: Thu, 15 May 2025 13:31:53 +0000 Subject: [PATCH] chore: fix test failure in profilecenter_test.go --- core/prof/profilecenter_test.go | 1 - 1 file changed, 1 deletion(-) 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")