Skip to content

Commit

Permalink
fix testgs
Browse files Browse the repository at this point in the history
Signed-off-by: crazycs <crazycs520@gmail.com>
  • Loading branch information
crazycs520 committed Jun 3, 2020
1 parent bd9113b commit 151c301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddl/serial_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ func (s *testSerialSuite) TestTruncateTableUpdateSchemaVersionErr(c *C) {
tk.MustExec("create table t (a int)")
_, err = tk.Exec("truncate table t")
c.Assert(err, NotNil)
c.Assert(err.Error(), Equals, "[ddl:-1]DDL job rollback, error msg: mock update version error")
c.Assert(err.Error(), Equals, "[ddl:8214]Cancelled DDL job")
// Disable fail point.
c.Assert(failpoint.Disable("github.com/pingcap/tidb/ddl/mockTruncateTableUpdateVersionError"), IsNil)
tk.MustExec("truncate table t")
Expand Down

0 comments on commit 151c301

Please sign in to comment.