X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Flei-watch.t;h=24d9f5c890dcbc6ee52fc5b1d726396b7f765bcd;hb=7cb1f806dfa0173fb689048c56a755cb3874dcaf;hp=9158571c60cc75bfa3d458021c5939a0a441651c;hpb=e7d9df936d071b4a9b72d2e6096ddf1e90c1bc05;p=public-inbox.git diff --git a/t/lei-watch.t b/t/lei-watch.t index 9158571c..24d9f5c8 100644 --- a/t/lei-watch.t +++ b/t/lei-watch.t @@ -3,6 +3,7 @@ # License: AGPL-3.0+ use strict; use v5.10.1; use PublicInbox::TestCommon; use File::Path qw(make_path remove_tree); +plan skip_all => "TEST_FLAKY not enabled for $0" if !$ENV{TEST_FLAKY}; require_mods('lei'); my $have_fast_inotify = eval { require Linux::Inotify2 } || eval { require IO::KQueue }; @@ -52,7 +53,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";