Admin: Skip reencryption test in sqlite for now (#121282)

This commit is contained in:
Matheus Macabu 2026-03-27 10:03:34 +01:00 committed by GitHub
parent e4d9f12be9
commit f4bb5b4ccc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View file

@ -21,6 +21,11 @@ import (
func TestIntegration_AdminApiReencrypt_Enterprise(t *testing.T) {
testutil.SkipIntegrationTestInShortMode(t)
// TODO: this test is failing due to DB locks in SQLite.
if db.IsTestDbSQLite() {
t.Skip("skip flaky in sqlite while we figure out the problem with this test")
}
getSecretsFunctions := map[string]func(*testing.T, *server.TestEnv) map[int]secret{}
getSecretsFunctions["settings"] = func(t *testing.T, env *server.TestEnv) map[int]secret {
return getSettingSecrets(t, env.SQLStore)

View file

@ -33,6 +33,11 @@ func TestMain(m *testing.M) {
func TestIntegration_AdminApiReencrypt(t *testing.T) {
testutil.SkipIntegrationTestInShortMode(t)
// TODO: this test is failing due to DB locks in SQLite.
if db.IsTestDbSQLite() {
t.Skip("skip flaky in sqlite while we figure out the problem with this test")
}
const (
dataSourceTable = "data_source"
secretsTable = "secrets"