提交 63a3df6d 编写于 作者: P plum-lihui

[sleep 3s after create dnode]

上级 a482c2aa
...@@ -51,7 +51,7 @@ sleep 1000 ...@@ -51,7 +51,7 @@ sleep 1000
sql connect sql connect
sleep 1000 sleep 1000
sql create dnode $hostname2 sql create dnode $hostname2
sleep 1000 sleep 3000
print ============== step2: create database with replica 2, and create table, insert data print ============== step2: create database with replica 2, and create table, insert data
$totalTableNum = 10 $totalTableNum = 10
...@@ -110,7 +110,7 @@ $loopCnt = $loopCnt + 1 ...@@ -110,7 +110,7 @@ $loopCnt = $loopCnt + 1
if $loopCnt == 10 then if $loopCnt == 10 then
return -1 return -1
endi endi
sleep 2000
sql show dnodes sql show dnodes
if $rows != 3 then if $rows != 3 then
sleep 2000 sleep 2000
...@@ -236,7 +236,6 @@ $loopCnt = $loopCnt + 1 ...@@ -236,7 +236,6 @@ $loopCnt = $loopCnt + 1
if $loopCnt == 10 then if $loopCnt == 10 then
return -1 return -1
endi endi
sleep 2000
sql show dnodes sql show dnodes
if $rows != 3 then if $rows != 3 then
sleep 2000 sleep 2000
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册