Skip to content

Commit

Permalink
fix(test/daser): stop the eds store before finishing the test (#2918)
Browse files Browse the repository at this point in the history
  • Loading branch information
vgonkivs committed Nov 9, 2023
1 parent 38ef883 commit 806274b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions share/availability/full/testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 806274b

Please sign in to comment.