Skip to content

Commit e720f49

Browse files
silverwindGiteaBot
andauthoredMay 16, 2023
Skip TestRepoCommitsStatusParallel on CI (#24741)
Related: #22109 Co-authored-by: Giteabot <teabot@gitea.io>
1 parent d81659d commit e720f49

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎tests/integration/repo_commits_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"fmt"
88
"net/http"
99
"net/http/httptest"
10+
"os"
1011
"path"
1112
"sync"
1213
"testing"
@@ -134,6 +135,9 @@ func TestRepoCommitsWithStatusRunning(t *testing.T) {
134135
}
135136

136137
func TestRepoCommitsStatusParallel(t *testing.T) {
138+
if os.Getenv("CI") != "" {
139+
t.Skip("Skipping because test is flaky on CI")
140+
}
137141
defer tests.PrepareTestEnv(t)()
138142

139143
session := loginUser(t, "user2")

0 commit comments

Comments
 (0)
Please sign in to comment.