Whamcloud - gitweb
wait a little after turning off fail_loc to make sure files show up
authornathan <nathan>
Tue, 20 Feb 2007 16:20:53 +0000 (16:20 +0000)
committernathan <nathan>
Tue, 20 Feb 2007 16:20:53 +0000 (16:20 +0000)
lustre/tests/replay-dual.sh

index 8c60328..1881cee 100755 (executable)
@@ -200,7 +200,11 @@ test_11() {
     #sleep for while, let both clients reconnect and timeout
     sleep $((TIMEOUT * 2))
     sysctl -w lustre.fail_loc=0
-
+    while [ -z "$(ls $MOUNT1/$tfile-[1-5] 2>/dev/null)" ]; do
+       sleep 5
+       echo -n "."
+    done
+    ls $MOUNT1/$tfile-[1-5]
     rm $MOUNT1/$tfile-[1-5] || return 1
 
     return 0