From 070dc4383bef40b29934057fccbc0d9742472abb Mon Sep 17 00:00:00 2001 From: vitaly Date: Mon, 22 Jun 2009 19:21:18 +0000 Subject: [PATCH] Branch HEAD b=19154 i=tappro i=vs let the statfs cache to get old enough on replay-single 20b --- lustre/tests/replay-single.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index 57c26b8..b6222e0 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -492,6 +492,10 @@ test_20b() { # bug 10480 [ ${con} -eq 1 ] && break sleep 1 done + + # let the statfs cache to get old enough. + sleep 1 + AFTERUSED=`df -P $DIR | tail -1 | awk '{ print $3 }'` log "before $BEFOREUSED, after $AFTERUSED" [ $AFTERUSED -gt $((BEFOREUSED + 20)) ] && \ -- 1.8.3.1