Chore: CleanupTestDB in unifed storage tests (#112223)
This commit is contained in:
1 parent
e6e58c3a56
commit
6af50482a1
1 file changed
+2
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user