Fix possible data race on tests (#30093)

pull/30106/head^2
Lunny Xiao 8 months ago committed by GitHub
parent 2ab5f05f40
commit 0c8b828f5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      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,

Loading…
Cancel
Save