[sheepdog] [PATCH 1/2] test: refine 026 to catch more bugs
Liu Yuan
namei.unix at gmail.com
Mon Aug 27 16:19:07 CEST 2012
From: Liu Yuan <tailai.ly at taobao.com>
With this change, current master will fail most of time.
Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
tests/026 | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/026 b/tests/026
index 3f2fe7f..0a3bbb5 100755
--- a/tests/026
+++ b/tests/026
@@ -31,7 +31,6 @@ done
) &
# kill nodes and join them back
-sleep 1
for i in 1 2; do _kill_sheep $i;done
_wait_for_sheep_recovery 0
for i in 3 4; do _kill_sheep $i;done
@@ -45,7 +44,7 @@ _wait_for_collie
# wait vdi create to completion
while true; do
nr1=`$COLLIE vdi list | wc -l`
- sleep 1
+ sleep 3
nr2=`$COLLIE vdi list | wc -l`
if [ $nr1 -eq $nr2 ]; then
break;
--
1.7.12.84.gefa6462
More information about the sheepdog
mailing list