Skip to content

Commit

Permalink
fix flaky wal_test.go (#4781)
Browse files Browse the repository at this point in the history
Signed-off-by: Paschalis Tsilias <[email protected]>
  • Loading branch information
tpaschalis authored Aug 11, 2023
1 parent c5728fb commit 40cb30e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/metrics/wal/wal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,8 @@ func TestStorage_Corruption(t *testing.T) {
s, err := NewStorage(log.NewNopLogger(), nil, walDir)
require.NoError(t, err)
require.NotNil(t, s)

require.NoError(t, s.Close())
}

func TestGlobalReferenceID_Normal(t *testing.T) {
Expand Down

0 comments on commit 40cb30e

Please sign in to comment.