summaryrefslogtreecommitdiffstats
path: root/tests/basic/quick-read-with-upcall.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/quick-read-with-upcall.t')
-rw-r--r--tests/basic/quick-read-with-upcall.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/basic/quick-read-with-upcall.t b/tests/basic/quick-read-with-upcall.t
index 951faee02cc..4e5df25c65e 100644
--- a/tests/basic/quick-read-with-upcall.t
+++ b/tests/basic/quick-read-with-upcall.t
@@ -37,7 +37,11 @@ TEST write_to "$M0/test.txt" "$D1"
EXPECT "$D1" cat $M0/test.txt
EXPECT "$D0" cat $M1/test.txt
-sleep 2
+# This is 3.7 for no good reason. We could have kept this to
+# any number above 2 seconds. Noticed that when it is 2 seconds, or
+# less, there is a possibility of not getting a lookup on the same inode.
+sleep 3.7
+
EXPECT "$D1" cat $M1/test.txt
TEST $CLI volume set $V0 features.cache-invalidation on