Skip to content

Commit

Permalink
Update libbeat/statestore/backend/memlog/store_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tiago Queiroz <[email protected]>
  • Loading branch information
emmanueltouzery and belimawr authored May 23, 2024
1 parent 989fc42 commit 6bae530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libbeat/statestore/backend/memlog/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func TestRecoverFromCorruption(t *testing.T) {
"field": 42,
}})
require.NoError(t, err, "logOperation must succeed")
require.Equal(t, false, store.disk.logInvalid, "log file must be valid")
require.False(t, store.disk.logInvalid, "log file must be valid")
require.FileExistsf(t, filepath.Join(path, "7.json"), "expecting the checkpoint file to have been created")

file, err := os.Stat(filepath.Join(path, "log.json"))
Expand Down

0 comments on commit 6bae530

Please sign in to comment.