From 6af50482a1c26ff96c08a6f40f7059c5bf70e0f4 Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Thu, 9 Oct 2025 22:22:59 +0300 Subject: [PATCH] Chore: CleanupTestDB in unifed storage tests (#112223) --- pkg/storage/unified/sql/test/integration_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/storage/unified/sql/test/integration_test.go b/pkg/storage/unified/sql/test/integration_test.go index 347a28c4f11..fe0c5b049fe 100644 --- a/pkg/storage/unified/sql/test/integration_test.go +++ b/pkg/storage/unified/sql/test/integration_test.go @@ -69,6 +69,7 @@ func TestMain(m *testing.M) { func TestIntegrationStorageServer(t *testing.T) { testutil.SkipIntegrationTestInShortMode(t) + t.Cleanup(db.CleanupTestDB) unitest.RunStorageServerTest(t, func(ctx context.Context) resource.StorageBackend { return newTestBackend(t, true, 0) @@ -78,6 +79,7 @@ func TestIntegrationStorageServer(t *testing.T) { // TestStorageBackend is a test for the StorageBackend interface. func TestIntegrationSQLStorageBackend(t *testing.T) { testutil.SkipIntegrationTestInShortMode(t) + t.Cleanup(db.CleanupTestDB) t.Run("IsHA (polling notifier)", func(t *testing.T) { unitest.RunStorageBackendTest(t, func(ctx context.Context) resource.StorageBackend {