We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9a826f commit e212011Copy full SHA for e212011
tests/integration/repo_webhook_test.go
@@ -12,7 +12,6 @@ import (
12
"path"
13
"strings"
14
"testing"
15
- "time"
16
17
auth_model "code.gitea.io/gitea/models/auth"
18
"code.gitea.io/gitea/models/repo"
@@ -1246,8 +1245,6 @@ jobs:
1246
1245
assert.Equal(t, "repo1", webhookData.payloads[0].Repo.Name)
1247
assert.Equal(t, "user2/repo1", webhookData.payloads[0].Repo.FullName)
1248
1249
- time.Sleep(15 * time.Second) // wait for the workflow to be processed
1250
-
1251
// Call cancel ui api
1252
// Only a web UI API exists for cancelling workflow runs, so use the UI endpoint.
1253
cancelURL := fmt.Sprintf("/user2/repo1/actions/runs/%d/cancel", webhookData.payloads[0].WorkflowRun.RunNumber)
0 commit comments