diff --git a/tests/integration/user_test.go b/tests/integration/user_test.go index 110f5c89bfbd3..c22ed94826f9a 100644 --- a/tests/integration/user_test.go +++ b/tests/integration/user_test.go @@ -6,6 +6,7 @@ package integration import ( "net/http" + "os" "testing" issues_model "code.gitea.io/gitea/models/issues" @@ -140,6 +141,10 @@ func TestRenameReservedUsername(t *testing.T) { } func TestExportUserGPGKeys(t *testing.T) { + if os.Getenv("CI") != "" { + t.Skip("Test is flaky, see https://github.com/go-gitea/gitea/issues/19961") + } + defer tests.PrepareTestEnv(t)() // Export empty key list testExportUserGPGKeys(t, "user1", `-----BEGIN PGP PUBLIC KEY BLOCK-----