diff --git a/pkg/storage/stores/shipper/uploads/table_manager_test.go b/pkg/storage/stores/shipper/uploads/table_manager_test.go index cc286fea199f1..a9def651c3fc1 100644 --- a/pkg/storage/stores/shipper/uploads/table_manager_test.go +++ b/pkg/storage/stores/shipper/uploads/table_manager_test.go @@ -95,6 +95,8 @@ func TestLoadTables(t *testing.T) { tm, err := NewTableManager(cfg, boltDBIndexClient, storageClient, nil) require.NoError(t, err) + defer tm.Stop() + require.Len(t, tm.tables, len(expectedTables)) stat, err := os.Stat(filepath.Join(indexPath, "table0", "table0"))