From 1b9b280a1d266d0a809ea48f21cfbc725caf16fb Mon Sep 17 00:00:00 2001
From: nathan <nathan>
Date: Tue, 20 Feb 2007 16:20:53 +0000
Subject: [PATCH] wait a little after turning off fail_loc to make sure files
 show up

---
 lustre/tests/replay-dual.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lustre/tests/replay-dual.sh b/lustre/tests/replay-dual.sh
index 8c60328cb9..1881cee10e 100755
--- a/lustre/tests/replay-dual.sh
+++ b/lustre/tests/replay-dual.sh
@@ -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
-- 
GitLab