diff --git a/tests/script/tsim/sma/rsmaCreateInsertQuery.sim b/tests/script/tsim/sma/rsmaCreateInsertQuery.sim index f6f1f0f181052929c294a6367b77320b15476692..e0353147514592c2288401b22e2e5941a9d8ce88 100644 --- a/tests/script/tsim/sma/rsmaCreateInsertQuery.sim +++ b/tests/script/tsim/sma/rsmaCreateInsertQuery.sim @@ -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