From e720f492066c791b06ce92d13a2103b58c63dbf7 Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 16 May 2023 14:42:16 +0200 Subject: [PATCH] Skip TestRepoCommitsStatusParallel on CI (#24741) Related: https://github.com/go-gitea/gitea/issues/22109 Co-authored-by: Giteabot --- tests/integration/repo_commits_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integration/repo_commits_test.go b/tests/integration/repo_commits_test.go index 57ecc4da5..0cfd21485 100644 --- a/tests/integration/repo_commits_test.go +++ b/tests/integration/repo_commits_test.go @@ -7,6 +7,7 @@ import ( "fmt" "net/http" "net/http/httptest" + "os" "path" "sync" "testing" @@ -134,6 +135,9 @@ func TestRepoCommitsWithStatusRunning(t *testing.T) { } func TestRepoCommitsStatusParallel(t *testing.T) { + if os.Getenv("CI") != "" { + t.Skip("Skipping because test is flaky on CI") + } defer tests.PrepareTestEnv(t)() session := loginUser(t, "user2")