From b0033d88fa5ea094bbfd47edbae2b33594bfa01c Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 15 May 2023 22:25:00 +0200 Subject: [PATCH] Skip TestRepoCommitsStatusParallel on CI --- 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 57ecc4da5f743..0cfd21485d19e 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")