diff --git a/tests/script/tsim/valgrind/checkError3.sim b/tests/script/tsim/valgrind/checkError3.sim index 8691a8890e2ce24cc2842bf362c580ce2f522687..252ef10b1a1c2813f073fe82590ee461b411361a 100644 --- a/tests/script/tsim/valgrind/checkError3.sim +++ b/tests/script/tsim/valgrind/checkError3.sim @@ -62,10 +62,12 @@ system sh/exec.sh -n dnode1 -s stop -x SIGINT system sh/exec.sh -n dnode1 -s start -v print =============== stepa: query data + +$x = 0 steps: $x = $x + 1 - sleep 1000 - if $x == 20 then + sleep 500 + if $x == 50 then return -1 endi sql select * from c1 -x steps diff --git a/tests/script/tsim/valgrind/checkError6.sim b/tests/script/tsim/valgrind/checkError6.sim index cac398a525b83ab6d611226b9a0a3935e2cea5bc..89b6cadef88eb5a7d363b5fd6c784b7606095e66 100644 --- a/tests/script/tsim/valgrind/checkError6.sim +++ b/tests/script/tsim/valgrind/checkError6.sim @@ -158,10 +158,11 @@ print =============== restart system sh/exec.sh -n dnode1 -s stop -x SIGINT system sh/exec.sh -n dnode1 -s start -v +$x = 0 steps: $x = $x + 1 - sleep 1000 - if $x == 20 then + sleep 500 + if $x == 50 then return -1 endi sql select avg(tbcol) as c from stb -x steps