From a788bd61466cce00e3923a3f33d8741121c0fe34 Mon Sep 17 00:00:00 2001 From: yisaer Date: Fri, 16 Sep 2022 13:20:14 +0800 Subject: [PATCH] fix test Signed-off-by: yisaer --- executor/executor_test.go | 2 -- executor/testdata/plan_replayer_test.txt | 1 - 2 files changed, 3 deletions(-) delete mode 100644 executor/testdata/plan_replayer_test.txt diff --git a/executor/executor_test.go b/executor/executor_test.go index bcea3e48489a5..e01eac6cf31c8 100644 --- a/executor/executor_test.go +++ b/executor/executor_test.go @@ -152,8 +152,6 @@ func TestPlanReplayer(t *testing.T) { tk.MustExec("drop table if exists t") tk.MustExec("create table t(a int, b int, index idx_a(a))") tk.MustExec("alter table t set tiflash replica 1") - tk.MustExec("plan replayer dump explain './testdata/plan_replayer_test.txt'") - require.True(t, len(tk.Session().GetSessionVars().LastPlanReplayerToken) > 0) tk.MustQuery("plan replayer dump explain select * from t where a=10") tk.MustQuery("plan replayer dump explain select /*+ read_from_storage(tiflash[t]) */ * from t") diff --git a/executor/testdata/plan_replayer_test.txt b/executor/testdata/plan_replayer_test.txt deleted file mode 100644 index 0a9959f55ad3e..0000000000000 --- a/executor/testdata/plan_replayer_test.txt +++ /dev/null @@ -1 +0,0 @@ -select * from t;select * from t;