Skip to content

Commit

Permalink
*: fix flaky test TestIndexUsageTable (#56555)
Browse files Browse the repository at this point in the history
close #56554
  • Loading branch information
hawkingrei authored Oct 11, 2024
1 parent c827297 commit f4e820d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/executor/infoschema_reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit f4e820d

Please sign in to comment.