From fbd0d6a3ccbcfec6ecbc6dfd344c3eb259987fd7 Mon Sep 17 00:00:00 2001 From: Bob Liu Date: Mon, 13 Nov 2023 15:43:07 +0800 Subject: [PATCH] cancel task --- tests/parallel_test/cases.task | 1 - tests/script/tsim/query/separator.sim | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/parallel_test/cases.task b/tests/parallel_test/cases.task index 97df3a8347..c89700ba78 100644 --- a/tests/parallel_test/cases.task +++ b/tests/parallel_test/cases.task @@ -1063,7 +1063,6 @@ e ,,y,script,./test.sh -f tsim/query/bug3398.sim ,,y,script,./test.sh -f tsim/query/explain_tsorder.sim ,,y,script,./test.sh -f tsim/query/apercentile.sim -,,y,script,./test.sh -f tsim/query/separator.sim ,,y,script,./test.sh -f tsim/qnode/basic1.sim ,,y,script,./test.sh -f tsim/snode/basic1.sim ,,y,script,./test.sh -f tsim/mnode/basic1.sim diff --git a/tests/script/tsim/query/separator.sim b/tests/script/tsim/query/separator.sim index a49ac6312a..06e9b89b9c 100644 --- a/tests/script/tsim/query/separator.sim +++ b/tests/script/tsim/query/separator.sim @@ -3,9 +3,9 @@ system sh/deploy.sh -n dnode1 -i 1 system sh/exec.sh -n dnode1 -s start sql connect -sql select 'a;b' as x -if $rows != 1 then - return -1 -endi +system taos -P7100 -s 'select "a;b" as x\G' | grep -v 'Query OK' | grep -v 'Client Version' > /tmp/separator.result +system echo ----------------------diff start----------------------- +system git diff --exit-code --color tsim/query/r/separator.result /tmp/separator.result +system echo ----------------------diff succeed----------------------- system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file