Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: crazycs520 <crazycs520@gmail.com>
  • Loading branch information
crazycs520 committed Dec 31, 2021
1 parent 75b04d9 commit a3f7178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor/set_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1601,6 +1601,6 @@ func (s *testSerialSuite) TestSetTopSQLVariables(c *C) {
c.Assert(topsqlstate.GlobalState.ReportIntervalSeconds.Load(), Equals, int64(120))

// Test for hide top sql variable except 'tidb_enable_top_sql' in show variable.
tk.MustQuery("show variables like '%top_sql%'").Check(testkit.Rows())
tk.MustQuery("show variables like '%top_sql%'").Check(testkit.Rows("tidb_enable_top_sql OFF"))
tk.MustQuery("show global variables like '%top_sql%'").Check(testkit.Rows("tidb_enable_top_sql OFF"))
}

0 comments on commit a3f7178

Please sign in to comment.