Skip to content

Commit

Permalink
Merge branch 'master' into kv-add-changefeed
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Jan 18, 2022
2 parents fd08448 + 7aeacab commit a951cef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dm/syncer/syncer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,7 @@ func (s *testSyncerSuite) TestRun(c *C) {
}

cancel()
<-resultCh // wait for the process to finish
// when syncer exit Run(), will flush job
syncer.Pause()

Expand Down Expand Up @@ -1023,6 +1024,7 @@ func (s *testSyncerSuite) TestRun(c *C) {
testJobs.RUnlock()

cancel()
<-resultCh // wait for the process to finish
syncer.Close()
c.Assert(syncer.isClosed(), IsTrue)

Expand Down

0 comments on commit a951cef

Please sign in to comment.