Fix parallelly generating index failure with Mysql (#24567)

This commit is contained in:
Lunny Xiao 2023-06-05 18:33:47 +08:00 committed by GitHub
parent 3d1fda737b
commit 315124b469
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 95 additions and 11 deletions

View file

@ -7,7 +7,6 @@ import (
"fmt"
"net/http"
"net/http/httptest"
"os"
"path"
"sync"
"testing"
@ -135,9 +134,6 @@ 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")