[sheepdog] [PATCH 1/3] tests/043: refine it to cache more bugs

Liu Yuan namei.unix at gmail.com
Tue Mar 26 07:30:06 CET 2013


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

Current master couldn't pass this refined version

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

diff --git a/tests/043 b/tests/043
index 080513f..59f6f74 100755
--- a/tests/043
+++ b/tests/043
@@ -21,7 +21,7 @@ done
 
 _wait_for_sheep 5
 
-$COLLIE cluster format
+$COLLIE cluster format -m unsafe
 
 $COLLIE vdi create test 40M
 
@@ -64,3 +64,7 @@ $COLLIE vdi create test2 20M
 for i in 0 1 2 4; do
     $COLLIE vdi list -p 700$i | _filter_short_date
 done
+
+# check whether we can write to a gateway after EIO
+rm -rf $STORE/0/obj
+echo hello | $COLLIE vdi write test 0 512
-- 
1.7.9.5




More information about the sheepdog mailing list