Whamcloud - gitweb
Branch HEAD
authorvitaly <vitaly>
Mon, 22 Jun 2009 19:21:18 +0000 (19:21 +0000)
committervitaly <vitaly>
Mon, 22 Jun 2009 19:21:18 +0000 (19:21 +0000)
b=19154
i=tappro
i=vs

let the statfs cache to get old enough on replay-single 20b

lustre/tests/replay-single.sh

index 57c26b8..b6222e0 100755 (executable)
@@ -492,6 +492,10 @@ test_20b() { # bug 10480
             [ ${con} -eq 1 ] && break
             sleep 1
     done
             [ ${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)) ] && \
     AFTERUSED=`df -P $DIR | tail -1 | awk '{ print $3 }'`
     log "before $BEFOREUSED, after $AFTERUSED"
     [ $AFTERUSED -gt $((BEFOREUSED + 20)) ] && \