mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-02 20:06:06 +01:00 
			
		
		
		
	Skip TestRepoCommitsStatusParallel on CI (#24741)
Related: https://github.com/go-gitea/gitea/issues/22109 Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
		@@ -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")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user