diff --git a/infoschema/tables_test.go b/infoschema/tables_test.go index ad6de4531affa..057ec4082ed25 100644 --- a/infoschema/tables_test.go +++ b/infoschema/tables_test.go @@ -312,7 +312,7 @@ func (s *testTableSuite) TestSomeTables(c *C) { StmtCtx: tk.Se.GetSessionVars().StmtCtx, } tk.Se.SetSessionManager(sm) - tk.MustQuery("select * from information_schema.PROCESSLIST order by ID;").Sort().Check( + tk.MustQuery("select * from information_schema.PROCESSLIST order by ID;").Check( testkit.Rows( fmt.Sprintf("1 user-1 localhost information_schema Quit 9223372036 1 %s", ""), fmt.Sprintf("2 user-2 localhost Init DB 9223372036 2 %s", strings.Repeat("x", 101)), @@ -327,13 +327,13 @@ func (s *testTableSuite) TestSomeTables(c *C) { fmt.Sprintf("1 user-1 localhost information_schema Quit 9223372036 1 %s", ""), fmt.Sprintf("2 user-2 localhost Init DB 9223372036 2 %s", strings.Repeat("x", 101)), )) - tk.MustQuery("select * from information_schema.PROCESSLIST where db is null;").Sort().Check( + tk.MustQuery("select * from information_schema.PROCESSLIST where db is null;").Check( testkit.Rows( - fmt.Sprintf("2 user-2 localhost Init DB 9223372036 2 %s 0", strings.Repeat("x", 101)), + fmt.Sprintf("2 user-2 localhost Init DB 9223372036 2 %s", strings.Repeat("x", 101)), )) - tk.MustQuery("select * from information_schema.PROCESSLIST where Info is null;").Sort().Check( + tk.MustQuery("select * from information_schema.PROCESSLIST where Info is null;").Check( testkit.Rows( - fmt.Sprintf("1 user-1 localhost information_schema Quit 9223372036 1 %s 0", ""), + fmt.Sprintf("1 user-1 localhost information_schema Quit 9223372036 1 %s", ""), )) }