From 806274b036d5f1a128ffb6cc570c2ec18ecbc761 Mon Sep 17 00:00:00 2001 From: Viacheslav Date: Thu, 9 Nov 2023 14:51:50 +0200 Subject: [PATCH] fix(test/daser): stop the eds store before finishing the test (#2918) --- share/availability/full/testing.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/share/availability/full/testing.go b/share/availability/full/testing.go index dd21d398c2..46e97581f2 100644 --- a/share/availability/full/testing.go +++ b/share/availability/full/testing.go @@ -55,5 +55,10 @@ func TestAvailability(t *testing.T, getter share.Getter) *ShareAvailability { require.NoError(t, err) err = store.Start(context.Background()) require.NoError(t, err) + + t.Cleanup(func() { + err = store.Stop(context.Background()) + require.NoError(t, err) + }) return NewShareAvailability(store, getter, disc) }