test: remove random failed case (insert/basic0.sim)

This commit is contained in:
Shengliang Guan 2022-05-17 19:41:32 +08:00
parent ed22513e52
commit 7018e69b61
1 changed files with 19 additions and 19 deletions

View File

@ -1,7 +1,6 @@
system sh/stop_dnodes.sh system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1 system sh/deploy.sh -n dnode1 -i 1
system sh/exec.sh -n dnode1 -s start system sh/exec.sh -n dnode1 -s start
sleep 50
sql connect sql connect
print =============== create database print =============== create database
@ -254,15 +253,16 @@ endi
# The order of data from different sub tables in the super table is random, # The order of data from different sub tables in the super table is random,
# so this detection may fail randomly # so this detection may fail randomly
if $data01 != 10 then print $data01 $data02 $data03
return -1 # if $data01 != 10 then
endi # return -1
if $data02 != 2.00000 then # endi
return -1 # if $data02 != 2.00000 then
endi # return -1
if $data03 != 3.000000000 then # endi
return -1 # if $data03 != 3.000000000 then
endi # return -1
# endi
#print =============== select count(column) from supter table #print =============== select count(column) from supter table
#sql select count(ts), count(c1), count(c2), count(c3) from stb #sql select count(ts), count(c1), count(c2), count(c3) from stb
@ -511,15 +511,15 @@ if $rows != 9 then
endi endi
# The order of data from different sub tables in the super table is random, # The order of data from different sub tables in the super table is random,
# so this detection may fail randomly # so this detection may fail randomly
if $data01 != 10 then #if $data01 != 10 then
return -1 # return -1
endi #endi
if $data02 != 2.00000 then #if $data02 != 2.00000 then
return -1 # return -1
endi #endi
if $data03 != 3.000000000 then #if $data03 != 3.000000000 then
return -1 # return -1
endi #endi
#print =============== select count(column) from supter table #print =============== select count(column) from supter table
#sql select count(ts), count(c1), count(c2), count(c3) from stb #sql select count(ts), count(c1), count(c2), count(c3) from stb