From 0c8b828f5d5ac7eb8e251edfb1f2536ce1c30336 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) --- 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 bb8092831fe..d0cfc1598f1 100644 --- a/services/webhook/deliver_test.go +++ b/services/webhook/deliver_test.go @@ -107,7 +107,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,