From: vitaly Date: Mon, 22 Jun 2009 19:21:18 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_9_220~115 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;ds=sidebyside;h=070dc4383bef40b29934057fccbc0d9742472abb;p=fs%2Flustre-release.git Branch HEAD b=19154 i=tappro i=vs let the statfs cache to get old enough on replay-single 20b --- 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)) ] && \