Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
vadiminshakov committed Nov 17, 2024
1 parent 5f6b2b8 commit 321d605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ func TestChecksum_Check_Checksum_Files(t *testing.T) {

for i := 0; i < 5; i++ {
require.NoError(t, log.Write(uint64(i), "key"+strconv.Itoa(i), []byte("value"+strconv.Itoa(i))))
}

require.NoError(t, compareChecksums(log.log, log.checksum))
require.NoError(t, compareChecksums(log.log, log.checksum))
}

// find all checksum files
checksumFiles, err := os.ReadDir("./testlogdata")
Expand Down

0 comments on commit 321d605

Please sign in to comment.