[sheepdog] [PATCH v2] tests/010: fix spurious failure on small disks

Liu Yuan namei.unix at gmail.com
Tue Sep 18 15:02:26 CEST 2012


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

Let all sheep start with the same disk size.

Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
Kazum, yes, the culprit is the disk size.

 tests/010 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/010 b/tests/010
index 2c492b1..71d175f 100755
--- a/tests/010
+++ b/tests/010
@@ -16,7 +16,7 @@ status=1        # failure is the default!
 _cleanup
 
 for i in `seq 0 4`; do
-    _start_sheep $i
+    _start_sheep $i '-s 100'
 done
 
 _wait_for_sheep 5
@@ -56,7 +56,7 @@ ls $STORE/*/obj/* | sort
 
 $COLLIE cluster recover disable
 for i in `seq 3 7`; do
-    _start_sheep $i
+    _start_sheep $i '-s 100'
 done
 
 _wait_for_sheep 8
-- 
1.7.12.84.gefa6462




More information about the sheepdog mailing list