Skip to content

Commit d89ecf4

Browse files
committed
revert mdl change
Signed-off-by: lance6716 <[email protected]>
1 parent d0839aa commit d89ecf4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/ddl/notifier/testkit_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,9 @@ func TestCommitFailed(t *testing.T) {
544544
tk := testkit.NewTestKit(t, store)
545545
tk.MustExec("USE test")
546546
tk.MustExec("set global tidb_enable_metadata_lock=0")
547+
t.Cleanup(func() {
548+
tk.MustExec("set global tidb_enable_metadata_lock=1")
549+
})
547550
tk.MustExec("DROP TABLE IF EXISTS " + ddl.NotifierTableName)
548551
tk.MustExec(ddl.NotifierTableSQL)
549552
tk.MustExec("CREATE TABLE subscribe_table (id INT PRIMARY KEY, c INT)")

0 commit comments

Comments
 (0)