]> Sergey Matveev's repositories - public-inbox.git/commitdiff
t/lei-*watch: disable flaky tests by default for now
authorEric Wong <e@80x24.org>
Sun, 13 Feb 2022 21:01:59 +0000 (21:01 +0000)
committerEric Wong <e@80x24.org>
Mon, 14 Feb 2022 18:43:11 +0000 (18:43 +0000)
Properly fixing these tests is too difficult for me at the
moment, so just disable these tests for now.  A proper fix and
fleshing out support for inotify will hopefully happen at some
point.

t/lei-auto-watch.t
t/lei-watch.t

index d5661ae5d6180059b37bf57fc3bf82b7c7e3692f..f871188d9d8885d4ac51b2dc2a0305bf53fe9ae7 100644 (file)
@@ -3,6 +3,7 @@
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict; use v5.10.1; use PublicInbox::TestCommon;
 use File::Basename qw(basename);
+plan skip_all => "TEST_FLAKY not enabled for $0" if !$ENV{TEST_FLAKY};
 my $have_fast_inotify = eval { require Linux::Inotify2 } ||
        eval { require IO::KQueue };
 $have_fast_inotify or
index e6066033bce6edc365b2e6e1f5bc61dffc5425b7..24d9f5c890dcbc6ee52fc5b1d726396b7f765bcd 100644 (file)
@@ -3,6 +3,7 @@
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 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 };