Merge pull request #15967 from taosdata/fix/valgrind
test: valgrind case
This commit is contained in:
commit
20560eae44
|
@ -7,7 +7,7 @@
|
||||||
./test.sh -f tsim/user/privilege_db.sim
|
./test.sh -f tsim/user/privilege_db.sim
|
||||||
./test.sh -f tsim/user/privilege_sysinfo.sim
|
./test.sh -f tsim/user/privilege_sysinfo.sim
|
||||||
|
|
||||||
# ---- db
|
# ---- db ----
|
||||||
./test.sh -f tsim/db/alter_option.sim
|
./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_13.sim
|
||||||
# unsupport ./test.sh -f tsim/db/alter_replica_31.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/checkError5.sim
|
||||||
./test.sh -f tsim/valgrind/checkError6.sim
|
./test.sh -f tsim/valgrind/checkError6.sim
|
||||||
./test.sh -f tsim/valgrind/checkError7.sim
|
./test.sh -f tsim/valgrind/checkError7.sim
|
||||||
|
./test.sh -f tsim/valgrind/checkError8.sim
|
||||||
./test.sh -f tsim/valgrind/checkUdf.sim
|
./test.sh -f tsim/valgrind/checkUdf.sim
|
||||||
|
|
||||||
# --- vnode ----
|
# --- vnode ----
|
||||||
|
|
|
@ -82,8 +82,6 @@ if $data26 != 21600m then
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
print =============== step6
|
print =============== step6
|
||||||
$i = $i + 1
|
$i = $i + 1
|
||||||
while $i < 5
|
while $i < 5
|
||||||
|
@ -251,7 +249,7 @@ if $rows != 5 then
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
|
|
||||||
sql select * from $stb
|
sql select * from $st
|
||||||
if $rows != 5 then
|
if $rows != 5 then
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
|
@ -306,7 +304,7 @@ if $rows != 5 then
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
|
|
||||||
sql select * from $stb
|
sql select * from $st
|
||||||
if $rows != 5 then
|
if $rows != 5 then
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
|
|
|
@ -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 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 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:
|
_OVER:
|
||||||
system sh/exec.sh -n dnode1 -s stop -x SIGINT
|
system sh/exec.sh -n dnode1 -s stop -x SIGINT
|
||||||
|
|
|
@ -113,6 +113,9 @@ sql select tbcol5 - tbcol3 from stb
|
||||||
|
|
||||||
sql select spread( tbcol2 )/44, spread(tbcol2), 0.204545455 * 44 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 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
|
print =============== step5: explain
|
||||||
sql explain analyze select ts from stb where -2;
|
sql explain analyze select ts from stb where -2;
|
||||||
|
|
Loading…
Reference in New Issue