Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
Signed-off-by: Ping Yu <yuping@pingcap.com>
  • Loading branch information
pingyu committed Mar 3, 2024
1 parent e092598 commit acf0d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdc/cdc/sink/tikv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func TestTiKVSinkBatcher(t *testing.T) {
CRTs: uint64(i),
}
require.NoError(batcher.Append(entry0))
require.NoError(batcher.Append(entry1))
require.Error(batcher.Append(entry1))
}
require.Len(batcher.Batches, 3)
require.Equal(6, batcher.Count())
Expand Down

0 comments on commit acf0d83

Please sign in to comment.