aboutsummaryrefslogtreecommitdiffstats
path: root/tests/integration/repo_commits_test.go
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-05-16 14:42:16 +0200
committerGitHub <noreply@github.com>2023-05-16 14:42:16 +0200
commite720f492066c791b06ce92d13a2103b58c63dbf7 (patch)
tree06660df2f044cbae80c16514702718d3ae2d2c0a /tests/integration/repo_commits_test.go
parentd81659d03947ac4533099089c5f442437e1d6887 (diff)
downloadgitea-e720f492066c791b06ce92d13a2103b58c63dbf7.tar.gz
gitea-e720f492066c791b06ce92d13a2103b58c63dbf7.zip
Skip TestRepoCommitsStatusParallel on CI (#24741)
Related: https://github.com/go-gitea/gitea/issues/22109 Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'tests/integration/repo_commits_test.go')
-rw-r--r--tests/integration/repo_commits_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/integration/repo_commits_test.go b/tests/integration/repo_commits_test.go
index 57ecc4da5f..0cfd21485d 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")