Stop background tasks and when stopping bleve backend. (#111249)

Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>
This commit is contained in:
Peter Štibraný
2025-09-23 18:04:49 +02:00
committed by GitHub
co-authored by Stephanie Hingtgen
parent 9494175984
commit f062e5a85f
5 changed files with 42 additions and 19 deletions
@@ -110,7 +110,7 @@ func TestIntegrationSearchAndStorage(t *testing.T) {
require.NoError(t, err)
require.NotNil(t, search)
t.Cleanup(search.CloseAllIndexes)
t.Cleanup(search.Stop)
// Create a new resource backend
storage := newTestBackend(t, false, 0)