Whamcloud - gitweb
LU-10928 tests: sanity/133b should wait a bit
[fs/lustre-release.git] / lustre / tests / sanity.sh
index cf62a37..16fd9d9 100755 (executable)
@@ -10711,6 +10711,9 @@ test_133b() {
                ls -l ${testdir}/${tfile} > /dev/null|| error "ls failed"
                check_stats $SINGLEMDS "getattr" 1
        fi
+       # Sleep to avoid a cached response.
+       #define OBD_STATFS_CACHE_SECONDS 1
+       sleep 2
        $LFS df || error "lfs failed"
        check_stats $SINGLEMDS "statfs" 1