diff options
Diffstat (limited to 'integrations/release_test.go')
-rw-r--r-- | integrations/release_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/integrations/release_test.go b/integrations/release_test.go index be0abd5e34..176f83d55a 100644 --- a/integrations/release_test.go +++ b/integrations/release_test.go @@ -8,6 +8,7 @@ import ( "fmt" "net/http" "testing" + "time" "code.gitea.io/gitea/modules/test" @@ -63,6 +64,9 @@ func TestViewReleases(t *testing.T) { session := loginUser(t, "user2") req := NewRequest(t, "GET", "/user2/repo1/releases") session.MakeRequest(t, req, http.StatusOK) + + // if CI is to slow this test fail, so lets wait a bit + time.Sleep(time.Millisecond * 100) } func TestViewReleasesNoLogin(t *testing.T) { |