[sheepdog] [PATCH] tests/008: wait for sheep to finish recovery

MORITA Kazutaka morita.kazutaka at gmail.com
Wed May 15 18:44:26 CEST 2013


From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>

'collie vdi write' can finish before sheep recovers all the objects,
so it is safe to wait for sheep to complete recovery.

Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 tests/008 |    1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/008 b/tests/008
index 6c58eb4..7e207e5 100755
--- a/tests/008
+++ b/tests/008
@@ -54,6 +54,7 @@ for i in `seq 1 5`; do
 done
 
 echo wait for object recovery to finish
+_wait_for_sheep_recovery 0
 wait
 
 for i in `seq 0 4`; do
-- 
1.7.9.5




More information about the sheepdog mailing list