[td-225] update the test script

This commit is contained in:
Haojun Liao 2020-05-20 22:58:19 +08:00
parent a7d1000240
commit 2c12419c0b
2 changed files with 7 additions and 7 deletions

View File

@ -65,7 +65,7 @@ sleep 2000
system sh/exec.sh -n dnode1 -s start system sh/exec.sh -n dnode1 -s start
print ================== server restart completed print ================== server restart completed
run general/parser/limit1_tb.sim #run general/parser/limit1_tb.sim
run general/parser/limit1_stb.sim run general/parser/limit1_stb.sim
system sh/exec.sh -n dnode1 -s stop -x SIGINT system sh/exec.sh -n dnode1 -s stop -x SIGINT

View File

@ -111,16 +111,16 @@ endi
if $data09 != nchar0 then if $data09 != nchar0 then
return -1 return -1
endi endi
if $data11 != NULL then if $data11 != null then
return -1 return -1
endi endi
if $data12 != NULL then if $data12 != null then
return -1 return -1
endi endi
if $data13 != NULL then if $data13 != null then
return -1 return -1
endi endi
if $data14 != NULL then if $data14 != null then
return -1 return -1
endi endi
@ -543,7 +543,7 @@ endi
if $data14 != 8.000000000 then if $data14 != 8.000000000 then
return -1 return -1
endi endi
if $data21 != NULL then if $data21 != null then
return -1 return -1
endi endi
@ -613,7 +613,7 @@ endi
if $data21 != 7.000000000 then if $data21 != 7.000000000 then
return -1 return -1
endi endi
if $data31 != NULL then if $data31 != null then
return -1 return -1
endi endi
sql select avg(c1), avg(c2), avg(c3), avg(c4), avg(c5), avg(c6) from $tb where ts >= $ts0 and ts <= $tsu interval(30m) limit 3 offset 1 sql select avg(c1), avg(c2), avg(c3), avg(c4), avg(c5), avg(c6) from $tb where ts >= $ts0 and ts <= $tsu interval(30m) limit 3 offset 1