From ef800a7ff1ceb6ed011590c6923ba2199677e031 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 26 Mar 2024 22:08:30 +0800 Subject: [PATCH] Fix possible data race on tests (#30093) (cherry picked from commit 0c8b828f5d5ac7eb8e251edfb1f2536ce1c30336) --- services/webhook/deliver_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/services/webhook/deliver_test.go b/services/webhook/deliver_test.go index bc06e43e0..c68933266 100644 --- a/services/webhook/deliver_test.go +++ b/services/webhook/deliver_test.go @@ -113,7 +113,6 @@ func TestWebhookDeliverAuthorizationHeader(t *testing.T) { err := hook.SetHeaderAuthorization("Bearer s3cr3t-t0ken") assert.NoError(t, err) assert.NoError(t, webhook_model.CreateWebhook(db.DefaultContext, hook)) - db.GetEngine(db.DefaultContext).NoAutoTime().DB().Logger.ShowSQL(true) hookTask := &webhook_model.HookTask{ HookID: hook.ID,