提交 7018e69b 编写于 作者: S Shengliang Guan

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

上级 ed22513e
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 ...@@ -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 ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册