diff --git a/tests/script/jenkins/basic.txt b/tests/script/jenkins/basic.txt index cf7e2d63f0..fda5e5cb6e 100644 --- a/tests/script/jenkins/basic.txt +++ b/tests/script/jenkins/basic.txt @@ -7,7 +7,7 @@ ./test.sh -f tsim/user/privilege_db.sim ./test.sh -f tsim/user/privilege_sysinfo.sim -# ---- db +# ---- db ---- ./test.sh -f tsim/db/alter_option.sim # unsupport ./test.sh -f tsim/db/alter_replica_13.sim # unsupport ./test.sh -f tsim/db/alter_replica_31.sim @@ -316,6 +316,7 @@ ./test.sh -f tsim/valgrind/checkError5.sim ./test.sh -f tsim/valgrind/checkError6.sim ./test.sh -f tsim/valgrind/checkError7.sim +./test.sh -f tsim/valgrind/checkError8.sim ./test.sh -f tsim/valgrind/checkUdf.sim # --- vnode ---- diff --git a/tests/script/tsim/db/basic6.sim b/tests/script/tsim/db/basic6.sim index 917345e25f..c978dc66c8 100644 --- a/tests/script/tsim/db/basic6.sim +++ b/tests/script/tsim/db/basic6.sim @@ -82,8 +82,6 @@ if $data26 != 21600m then return -1 endi -return - print =============== step6 $i = $i + 1 while $i < 5 @@ -251,7 +249,7 @@ if $rows != 5 then return -1 endi -sql select * from $stb +sql select * from $st if $rows != 5 then return -1 endi @@ -306,7 +304,7 @@ if $rows != 5 then return -1 endi -sql select * from $stb +sql select * from $st if $rows != 5 then return -1 endi diff --git a/tests/script/tsim/valgrind/basic3.sim b/tests/script/tsim/valgrind/basic3.sim index 3a51186d55..8ef1ff2a41 100644 --- a/tests/script/tsim/valgrind/basic3.sim +++ b/tests/script/tsim/valgrind/basic3.sim @@ -53,6 +53,16 @@ print =============== step3: tb sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 1 soffset 1; sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 2 soffset 4 limit 10 offset 1; +sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 1 soffset 1; +sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 2 soffset 4 limit 10 offset 1; +sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 1 soffset 1; +sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 2 soffset 4 limit 10 offset 1; +sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 1 soffset 1; +sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 2 soffset 4 limit 10 offset 1; +sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 1 soffset 1; +sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 2 soffset 4 limit 10 offset 1; + +sleep 1000 _OVER: system sh/exec.sh -n dnode1 -s stop -x SIGINT diff --git a/tests/script/tsim/valgrind/checkError6.sim b/tests/script/tsim/valgrind/checkError6.sim index 70f55370d2..cd8b94e1d0 100644 --- a/tests/script/tsim/valgrind/checkError6.sim +++ b/tests/script/tsim/valgrind/checkError6.sim @@ -113,6 +113,9 @@ sql select tbcol5 - tbcol3 from stb sql select spread( tbcol2 )/44, spread(tbcol2), 0.204545455 * 44 from stb; sql select min(tbcol) * max(tbcol) /4, sum(tbcol2) * apercentile(tbcol2, 20), apercentile(tbcol2, 33) + 52/9 from stb; +sql select distinct(tbname), tgcol from stb; +#sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 1 soffset 1; +#sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 2 soffset 4 limit 10 offset 1; print =============== step5: explain sql explain analyze select ts from stb where -2;