[sheepdog] [PATCH] test: consolidate 012 to git rid of spurious failure

Liu Yuan namei.unix at gmail.com
Fri Aug 31 06:22:19 CEST 2012


From: Liu Yuan <tailai.ly at taobao.com>

Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
 tests/012 |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/012 b/tests/012
index 2a46335..4642a7f 100755
--- a/tests/012
+++ b/tests/012
@@ -19,10 +19,12 @@ for i in 0 1 2; do
     _start_sheep $i
 done
 
+_wait_for_sheep 3
+
 # add gateway node
 _start_sheep 4 "-g"
 
-sleep 1
+_wait_for_sheep 4
 
 echo check the number of vnodes
 $COLLIE node list
-- 
1.7.10.2




More information about the sheepdog mailing list