Whamcloud - gitweb
b=20680 add sleep to expire stat cache
[fs/lustre-release.git] / lustre / tests / replay-vbr.sh
index b278482..ada1c2c 100644 (file)
@@ -425,6 +425,7 @@ test_0r() {
     sleep 1
     mtime_pre=$(do_node $CLIENT1 stat --format=%Y $file)
     do_node $CLIENT1 touch $file
+    sleep 1 # avoid stat caching
     mtime_post=$(do_node $CLIENT1 stat --format=%Y $file)
     zconf_umount $CLIENT2 $MOUNT
     facet_failover $SINGLEMDS