Skip to content

Commit

Permalink
Fix possible data race on tests (#30093) (#30108)
Browse files Browse the repository at this point in the history
backport #30093
  • Loading branch information
lunny authored Mar 26, 2024
1 parent a0f89ba commit 09a5067
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion services/webhook/deliver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,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, EventType: webhook_module.HookEventPush, Payloader: &api.PushPayload{}}

Expand Down

0 comments on commit 09a5067

Please sign in to comment.