Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
suzaku committed Nov 20, 2019
1 parent 9c1c93a commit 64bee3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drainer/schema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (t *schemaSuite) TestSchema(c *C) {
jobs = append(jobs, job)

// construct a rollbackdone job
jobs = append(jobs, &model.Job{ID: 5, State: model.JobStateRollbackDone})
jobs = append(jobs, &model.Job{ID: 5, State: model.JobStateRollbackDone, BinlogInfo: &model.HistoryInfo{}})

// reconstruct the local schema
schema, err := NewSchema(jobs, false)
Expand Down

0 comments on commit 64bee3d

Please sign in to comment.