enh: make the test case more rebust
This commit is contained in:
parent
2b4408ff9f
commit
d9dcac0da5
|
@ -33,14 +33,14 @@ sql insert into ct1 values(now+2s, 100);
|
|||
print =============== select * from retention level 2 from memory
|
||||
sql select * from ct1;
|
||||
print $data00 $data01
|
||||
if $rows > 1 then
|
||||
if $rows > 2 then
|
||||
print retention level 2 file rows $rows > 1
|
||||
return -1
|
||||
endi
|
||||
print =============== select * from retention level 1 from memory
|
||||
sql select * from ct1 where ts > now-8d;
|
||||
print $data00 $data01
|
||||
if $rows > 1 then
|
||||
if $rows > 2 then
|
||||
print retention level 1 file rows $rows > 1
|
||||
return -1
|
||||
endi
|
||||
|
@ -63,7 +63,7 @@ system sh/exec.sh -n dnode1 -s start
|
|||
print =============== select * from retention level 2 from file
|
||||
sql select * from ct1;
|
||||
print $data00 $data01
|
||||
if $rows > 1 then
|
||||
if $rows > 2 then
|
||||
print retention level 2 file rows $rows > 1
|
||||
return -1
|
||||
endi
|
||||
|
@ -71,7 +71,7 @@ endi
|
|||
print =============== select * from retention level 1 from file
|
||||
sql select * from ct1 where ts > now-8d;
|
||||
print $data00 $data01
|
||||
if $rows > 1 then
|
||||
if $rows > 2 then
|
||||
print retention level 1 file rows $rows > 1
|
||||
return -1
|
||||
endi
|
||||
|
|
Loading…
Reference in New Issue