diff --git a/pkg/tests/api/admin/encryption/reencrypt_enterprise_test.go b/pkg/tests/api/admin/encryption/reencrypt_enterprise_test.go index 53cda962dff..3a54510d589 100644 --- a/pkg/tests/api/admin/encryption/reencrypt_enterprise_test.go +++ b/pkg/tests/api/admin/encryption/reencrypt_enterprise_test.go @@ -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) diff --git a/pkg/tests/api/admin/encryption/reencrypt_test.go b/pkg/tests/api/admin/encryption/reencrypt_test.go index f9dce41ea27..e420fe38a0b 100644 --- a/pkg/tests/api/admin/encryption/reencrypt_test.go +++ b/pkg/tests/api/admin/encryption/reencrypt_test.go @@ -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"