We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0839aa commit d89ecf4Copy full SHA for d89ecf4
pkg/ddl/notifier/testkit_test.go
@@ -544,6 +544,9 @@ func TestCommitFailed(t *testing.T) {
544
tk := testkit.NewTestKit(t, store)
545
tk.MustExec("USE test")
546
tk.MustExec("set global tidb_enable_metadata_lock=0")
547
+ t.Cleanup(func() {
548
+ tk.MustExec("set global tidb_enable_metadata_lock=1")
549
+ })
550
tk.MustExec("DROP TABLE IF EXISTS " + ddl.NotifierTableName)
551
tk.MustExec(ddl.NotifierTableSQL)
552
tk.MustExec("CREATE TABLE subscribe_table (id INT PRIMARY KEY, c INT)")
0 commit comments