From f4e820d3fcb67313241c753e4b7deb5471e015b1 Mon Sep 17 00:00:00 2001 From: Weizhen Wang Date: Fri, 11 Oct 2024 13:35:03 +0800 Subject: [PATCH] *: fix flaky test TestIndexUsageTable (#56555) close pingcap/tidb#56554 --- pkg/executor/infoschema_reader_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/executor/infoschema_reader_test.go b/pkg/executor/infoschema_reader_test.go index d58e0667627d0..faf2a42ea02ef 100644 --- a/pkg/executor/infoschema_reader_test.go +++ b/pkg/executor/infoschema_reader_test.go @@ -641,7 +641,7 @@ func TestIndexUsageTable(t *testing.T) { "test|idt1|idx_2", "test|idt1|idx_3")) tk.MustQuery(`select TABLE_SCHEMA, TABLE_NAME, INDEX_NAME from information_schema.tidb_index_usage - where TABLE_SCHEMA = 'test' and INDEX_NAME = 'idx_2';`).Check( + where TABLE_SCHEMA = 'test' and INDEX_NAME = 'idx_2';`).Sort().Check( testkit.RowsWithSep("|", "test|idt1|idx_2", "test|idt2|idx_2"))