[sheepdog] [PATCH v2 1/2] tests/func: refine 072

Liu Yuan namei.unix at gmail.com
Fri Aug 30 16:56:32 CEST 2013


We should use '_kill_all_sheep' instead of 'cluster shutdown' to simulate a
cluster crash

Signed-off-by: Liu Yuan <namei.unix at gmail.com>
---
 tests/functional/072 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/functional/072 b/tests/functional/072
index 4f7a7c3..47086df 100755
--- a/tests/functional/072
+++ b/tests/functional/072
@@ -17,7 +17,7 @@ _start_sheep 2
 _wait_for_sheep 3
 
 $DOG vdi create test 8M -P
-$DOG cluster shutdown
+_kill_all_sheeps
 
 mv $STORE/0/obj/007c2b2500000001 $STORE/0/obj/.stale/007c2b2500000001.1
 mv $STORE/1/obj/807c2b2500000000 $STORE/1/obj/.stale/807c2b2500000000.1
-- 
1.7.9.5




More information about the sheepdog mailing list