From ff10c2e895db3e2e21ccb7b60425d90f9098ecc9 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Mon, 30 May 2022 20:59:09 +0800 Subject: [PATCH] test: cases for alter stb --- tests/script/tsim/stable/alter_count.sim | 3 ++- tests/script/tsim/stable/alter_insert1.sim | 3 ++- tests/script/tsim/stable/alter_insert2.sim | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/script/tsim/stable/alter_count.sim b/tests/script/tsim/stable/alter_count.sim index 3bd78162f3..e5af9a5735 100644 --- a/tests/script/tsim/stable/alter_count.sim +++ b/tests/script/tsim/stable/alter_count.sim @@ -248,8 +248,9 @@ endi print ============== step18 system sh/exec.sh -n dnode1 -s stop -x SIGINT +sleep 3000 system sh/exec.sh -n dnode1 -s start -sql connect +sleep 3000 #sql select count(g) from tb #if $data00 != 12 then diff --git a/tests/script/tsim/stable/alter_insert1.sim b/tests/script/tsim/stable/alter_insert1.sim index 513a7a0a14..82781f2fe5 100644 --- a/tests/script/tsim/stable/alter_insert1.sim +++ b/tests/script/tsim/stable/alter_insert1.sim @@ -936,8 +936,9 @@ endi print ======== step9 system sh/exec.sh -n dnode1 -s stop -x SIGINT +sleep 3000 system sh/exec.sh -n dnode1 -s start -sql connect +sleep 3000 sql select * from tb order by ts asc if $rows != 8 then diff --git a/tests/script/tsim/stable/alter_insert2.sim b/tests/script/tsim/stable/alter_insert2.sim index 5d765ede55..a30175f398 100644 --- a/tests/script/tsim/stable/alter_insert2.sim +++ b/tests/script/tsim/stable/alter_insert2.sim @@ -604,8 +604,9 @@ sql_error alter table tb drop column a print ======== step9 system sh/exec.sh -n dnode1 -s stop -x SIGINT +sleep 3000 system sh/exec.sh -n dnode1 -s start -sql connect +sleep 3000 sql select * from tb order by ts desc if $rows != 7 then -- GitLab