test: cases for alter stb
This commit is contained in:
parent
0a87184d01
commit
ff10c2e895
|
@ -248,8 +248,9 @@ endi
|
||||||
|
|
||||||
print ============== step18
|
print ============== step18
|
||||||
system sh/exec.sh -n dnode1 -s stop -x SIGINT
|
system sh/exec.sh -n dnode1 -s stop -x SIGINT
|
||||||
|
sleep 3000
|
||||||
system sh/exec.sh -n dnode1 -s start
|
system sh/exec.sh -n dnode1 -s start
|
||||||
sql connect
|
sleep 3000
|
||||||
|
|
||||||
#sql select count(g) from tb
|
#sql select count(g) from tb
|
||||||
#if $data00 != 12 then
|
#if $data00 != 12 then
|
||||||
|
|
|
@ -936,8 +936,9 @@ endi
|
||||||
print ======== step9
|
print ======== step9
|
||||||
|
|
||||||
system sh/exec.sh -n dnode1 -s stop -x SIGINT
|
system sh/exec.sh -n dnode1 -s stop -x SIGINT
|
||||||
|
sleep 3000
|
||||||
system sh/exec.sh -n dnode1 -s start
|
system sh/exec.sh -n dnode1 -s start
|
||||||
sql connect
|
sleep 3000
|
||||||
|
|
||||||
sql select * from tb order by ts asc
|
sql select * from tb order by ts asc
|
||||||
if $rows != 8 then
|
if $rows != 8 then
|
||||||
|
|
|
@ -604,8 +604,9 @@ sql_error alter table tb drop column a
|
||||||
|
|
||||||
print ======== step9
|
print ======== step9
|
||||||
system sh/exec.sh -n dnode1 -s stop -x SIGINT
|
system sh/exec.sh -n dnode1 -s stop -x SIGINT
|
||||||
|
sleep 3000
|
||||||
system sh/exec.sh -n dnode1 -s start
|
system sh/exec.sh -n dnode1 -s start
|
||||||
sql connect
|
sleep 3000
|
||||||
|
|
||||||
sql select * from tb order by ts desc
|
sql select * from tb order by ts desc
|
||||||
if $rows != 7 then
|
if $rows != 7 then
|
||||||
|
|
Loading…
Reference in New Issue