From 7cb1f806dfa0173fb689048c56a755cb3874dcaf Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 13 Feb 2022 21:01:59 +0000 Subject: [PATCH] t/lei-*watch: disable flaky tests by default for now 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 | 1 + t/lei-watch.t | 1 + 2 files changed, 2 insertions(+) diff --git a/t/lei-auto-watch.t b/t/lei-auto-watch.t index d5661ae5..f871188d 100644 --- a/t/lei-auto-watch.t +++ b/t/lei-auto-watch.t @@ -3,6 +3,7 @@ # 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 e6066033..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 }; -- 2.44.0