From f4bb5b4ccc4e004d4dc0dbf03e922a35a2827708 Mon Sep 17 00:00:00 2001 From: Matheus Macabu Date: Fri, 27 Mar 2026 10:03:34 +0100 Subject: [PATCH] Admin: Skip reencryption test in sqlite for now (#121282) --- pkg/tests/api/admin/encryption/reencrypt_enterprise_test.go | 5 +++++ pkg/tests/api/admin/encryption/reencrypt_test.go | 5 +++++ 2 files changed, 10 insertions(+) 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"