[sheepdog] [PATCH 1/2] tests: sleep 1 second before unmount

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue Sep 11 10:03:03 CEST 2012


Seems that umount just after stopping sheeps fails occasionally.
Let's add 1 second sleep before umount again and see how it works.

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

diff --git a/tests/011 b/tests/011
index d3bc4d3..4e8c30a 100755
--- a/tests/011
+++ b/tests/011
@@ -20,6 +20,8 @@ _cleanup_devices()
     _kill_all_collies
     _kill_all_sheeps
 
+    sleep 1
+
     for i in 0 1 2; do
         umount $STORE/$i
         rm -f $STORE/$i.img
-- 
1.7.2.5




More information about the sheepdog mailing list