Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
3AceShowHand committed Sep 26, 2024
1 parent 9b0f471 commit 07b7a86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cdc/owner/ddl_sink_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func TestCheckpoint(t *testing.T) {
ctx, cancel := context.WithCancel(context.Background())
defer func() {
cancel()
ddlSink.close(ctx)
ddlSink.close()
}()
ddlSink.run(ctx)

Expand All @@ -106,7 +106,7 @@ func TestExecDDLEvents(t *testing.T) {
ctx, cancel := context.WithCancel(context.Background())
defer func() {
cancel()
ddlSink.close(ctx)
ddlSink.close()
}()
ddlSink.run(ctx)

Expand Down Expand Up @@ -150,7 +150,7 @@ func TestExecDDLError(t *testing.T) {
ctx, cancel := context.WithCancel(context.Background())
defer func() {
cancel()
ddlSink.close(ctx)
ddlSink.close()
}()

ddlSink.run(ctx)
Expand Down

0 comments on commit 07b7a86

Please # to comment.