[sheepdog] [PATCH 1/4] tests/037: avoid false detection of network partion

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Fri Sep 14 10:24:26 CEST 2012


We shouldn't stop more than half of nodes at the same time.

Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 tests/037 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/037 b/tests/037
index 2d715bb..2221434 100755
--- a/tests/037
+++ b/tests/037
@@ -23,14 +23,14 @@ _wait_for_sheep 8
 
 $COLLIE cluster format &
 
-for i in `seq 4 7`; do
+for i in `seq 5 7`; do
     _kill_sheep $i
 done
 
 # wait for collie to finish
 wait
 
-for i in `seq 4 7`; do
+for i in `seq 5 7`; do
     _start_sheep $i
 done
 
-- 
1.7.2.5




More information about the sheepdog mailing list