mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
29 lines
529 B
Text
29 lines
529 B
Text
system sh/stop_dnodes.sh
|
|
system sh/deploy.sh -n dnode1 -i 1
|
|
system sh/exec.sh -n dnode1 -s start
|
|
sql connect
|
|
|
|
sql (select server_status()) union all (select server_status())
|
|
if $rows != 2 then
|
|
return -1
|
|
endi
|
|
|
|
if $data00 != 1 then
|
|
return -1
|
|
endi
|
|
|
|
if $data10 != 1 then
|
|
return -1
|
|
endi
|
|
|
|
sql (select client_version()) union all (select server_version())
|
|
if $rows != 2 then
|
|
return -1
|
|
endi
|
|
|
|
sql (select database()) union all (select database())
|
|
if $rows != 2 then
|
|
return -1
|
|
endi
|
|
|
|
system sh/exec.sh -n dnode1 -s stop -x SIGINT
|