From 85d9fc8d473fd0594eed8e5edf04b4a70c535eda Mon Sep 17 00:00:00 2001 From: crazycs520 Date: Tue, 29 Aug 2023 17:36:36 +0800 Subject: [PATCH] fix test Signed-off-by: crazycs520 --- bindinfo/bind_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindinfo/bind_test.go b/bindinfo/bind_test.go index c8436799feff0..be2d90d955607 100644 --- a/bindinfo/bind_test.go +++ b/bindinfo/bind_test.go @@ -685,7 +685,7 @@ func TestRuntimeHintsInEvolveTasks(t *testing.T) { tk.MustExec("admin flush bindings") rows := tk.MustQuery("show global bindings").Rows() require.Len(t, rows, 2) - require.Equal(t, "SELECT /*+ use_index(@`sel_1` `test`.`t` `idx_c`), no_order_index(@`sel_1` `test`.`t` `idx_c`), max_execution_time(5000), tidb_kv_read_timeout(20)*/ * FROM `test`.`t` WHERE `a` >= 4 AND `b` >= 1 AND `c` = 0", rows[0][1]) + require.Equal(t, "SELECT /*+ use_index(@`sel_1` `test`.`t` `idx_c`), max_execution_time(5000), tidb_kv_read_timeout(20)*/ * FROM `test`.`t` WHERE `a` >= 4 AND `b` >= 1 AND `c` = 0", rows[0][1]) } func TestDefaultSessionVars(t *testing.T) {