[sheepdog] [PATCH] test: fix 026 object loss problem
Liu Yuan
namei.unix at gmail.com
Mon Aug 20 07:18:08 CEST 2012
From: Liu Yuan <tailai.ly at taobao.com>
We can kill at most 2 nodes in one go with 3 copies.
Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
tests/026 | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/tests/026 b/tests/026
index 5409826..00c06d0 100755
--- a/tests/026
+++ b/tests/026
@@ -32,8 +32,12 @@ done
# kill nodes and join them back
sleep 1
-for i in `seq 1 5`; do _kill_sheep $i;done
-sleep 10
+for i in 1 2; do _kill_sheep $i;done
+sleep 6
+for i in 3 4; do _kill_sheep $i;done
+sleep 6
+for i in 5; do _kill_sheep $i;done
+sleep 6
for i in `seq 1 5`; do _start_sheep $i;done
_wait_for_collie
--
1.7.10.2
More information about the sheepdog
mailing list