t/lei-auto-watch.t | 1 +
t/lei-watch.t | 1 +
diff --git a/t/lei-auto-watch.t b/t/lei-auto-watch.t
index d5661ae5d6180059b37bf57fc3bf82b7c7e3692f..f871188d9d8885d4ac51b2dc2a0305bf53fe9ae7 100644
--- a/t/lei-auto-watch.t
+++ b/t/lei-auto-watch.t
@@ -3,6 +3,7 @@ # Copyright all contributors
# License: AGPL-3.0+
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
diff --git a/t/lei-watch.t b/t/lei-watch.t
index e6066033bce6edc365b2e6e1f5bc61dffc5425b7..24d9f5c890dcbc6ee52fc5b1d726396b7f765bcd 100644
--- a/t/lei-watch.t
+++ b/t/lei-watch.t
@@ -3,6 +3,7 @@ # Copyright all contributors
# 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 };