about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-11-10 10:33:16 +0000
committerEric Wong <e@80x24.org>2021-11-10 18:38:19 +0000
commit5fb5b6d1a62b74b34e0ce4b2615bd8bfc81195a4 (patch)
tree04334ee69fed1183d0282a149ab4fdd125e021b1
parentb63e13509ce1fb359db4096b33219bcdb978e36d (diff)
downloadpublic-inbox-5fb5b6d1a62b74b34e0ce4b2615bd8bfc81195a4.tar.gz
0.1s may not be enough for a task switch and inotify wakeup,
so try doubling it and see if it fixes test reliability, for
now.  A future change may be to implement a watcher/tracer
for inotify -> lei/store events.

Link: https://public-inbox.org/meta/20211104134327.zrf5jijfz7dsvb7l@meerkat.local/
-rw-r--r--t/lei-watch.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lei-watch.t b/t/lei-watch.t
index 9158571c..e6066033 100644
--- a/t/lei-watch.t
+++ b/t/lei-watch.t
@@ -52,7 +52,7 @@ test_lei(sub {
         my @f = glob("$md/cur/*:2,");
         is(scalar(@f), 1, 'got populated maildir with one result');
         rename($f[0], "$f[0]S") or xbail "rename $!"; # set (S)een
-        tick($have_fast_inotify ? 0.1 : 2.1); # always needed for 1 CPU systems
+        tick($have_fast_inotify ? 0.2 : 2.2); # always needed for 1 CPU systems
         lei_ok qw(note-event done); # flushes immediately (instead of 5s)
 
         lei_ok qw(q mid:testmessage@example.com -o), $md2, '-I', "$ro_home/t1";