Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wk989898 authored and ti-chi-bot committed Dec 26, 2024
1 parent 8f19e9d commit b5e009a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cdc/redo/writer/memory/mem_log_writer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func testWriteEvents(t *testing.T, events []writer.RedoEvent) {
"WriteEvents": func(expected error) {
if expected == nil {
err := lw.WriteEvents(ctx, events...)
require.Nil(t, err)
require.NoError(t, err)
} else {
require.Eventually(
t, func() bool {
Expand All @@ -109,7 +109,7 @@ func testWriteEvents(t *testing.T, events []writer.RedoEvent) {
"FlushLog": func(expected error) {
if expected == nil {
err := lw.FlushLog(ctx)
require.Nil(t, err)
require.NoError(t, err)
} else {
require.Eventually(
t, func() bool {
Expand Down

0 comments on commit b5e009a

Please sign in to comment.