Whamcloud - gitweb
LU-11425 quota: support quota for DoM
[fs/lustre-release.git] / lustre / tests / runtests
index 758d7de..51f0353 100755 (executable)
@@ -24,6 +24,7 @@ RUNTESTS_SRC=${RUNTESTS_SRC:-"/etc /bin"}
 
 check_and_setup_lustre
 test_1() {
+sleep 5 # let MDS refresh aggregated statfs
 # Include some extra space for the status file
 USED=$(df -P $DIR | awk '{ print $3 }' | tail -n 1)
 
@@ -125,6 +126,7 @@ $RMDIRMANY $DST/d 100 || error "$RMDIRMANY cleanup failed"
 log "done"
 
 wait_delete_completed
+sleep 5 # let MDS refresh aggregated statfs
 NOWUSED=$(($(df -P $DIR | awk '{ print $3 }' | tail -n 1)))
 if [ $(expr $NOWUSED - $USED) -gt 1024 ]; then
        error "Space not all freed: now ${NOWUSED}kB, was ${USED}kB."