fix: adjust test case
This commit is contained in:
parent
d9dcac0da5
commit
93759d7936
|
@ -34,14 +34,14 @@ print =============== select * from retention level 2 from memory
|
||||||
sql select * from ct1;
|
sql select * from ct1;
|
||||||
print $data00 $data01
|
print $data00 $data01
|
||||||
if $rows > 2 then
|
if $rows > 2 then
|
||||||
print retention level 2 file rows $rows > 1
|
print retention level 2 file rows $rows > 2
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
print =============== select * from retention level 1 from memory
|
print =============== select * from retention level 1 from memory
|
||||||
sql select * from ct1 where ts > now-8d;
|
sql select * from ct1 where ts > now-8d;
|
||||||
print $data00 $data01
|
print $data00 $data01
|
||||||
if $rows > 2 then
|
if $rows > 2 then
|
||||||
print retention level 1 file rows $rows > 1
|
print retention level 1 file rows $rows > 2
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
print =============== select * from retention level 0 from memory
|
print =============== select * from retention level 0 from memory
|
||||||
|
@ -64,7 +64,7 @@ print =============== select * from retention level 2 from file
|
||||||
sql select * from ct1;
|
sql select * from ct1;
|
||||||
print $data00 $data01
|
print $data00 $data01
|
||||||
if $rows > 2 then
|
if $rows > 2 then
|
||||||
print retention level 2 file rows $rows > 1
|
print retention level 2 file rows $rows > 2
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ print =============== select * from retention level 1 from file
|
||||||
sql select * from ct1 where ts > now-8d;
|
sql select * from ct1 where ts > now-8d;
|
||||||
print $data00 $data01
|
print $data00 $data01
|
||||||
if $rows > 2 then
|
if $rows > 2 then
|
||||||
print retention level 1 file rows $rows > 1
|
print retention level 1 file rows $rows > 2
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue