From: Eric Wong Date: Sat, 15 Feb 2025 11:10:08 +0000 (+0000) Subject: t/watch_v1_v2_mix_no_modify: load PublicInbox::Config X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=183ebb7148867c2c00791491ab46e3309991cca4;p=thirdparty%2Fpublic-inbox.git t/watch_v1_v2_mix_no_modify: load PublicInbox::Config For testing with TEST_RUN_MODE=0 (which spawns new processes instead of reusing them), we can't rely on packages being loaded by subprocesses influencing the main Perl process. Thus we must load PublicInbox::Config explicitly to prevent failures with this run mode. --- diff --git a/t/watch_v1_v2_mix_no_modify.t b/t/watch_v1_v2_mix_no_modify.t index 759fd0bbc..d0e2a78cb 100644 --- a/t/watch_v1_v2_mix_no_modify.t +++ b/t/watch_v1_v2_mix_no_modify.t @@ -9,6 +9,7 @@ use PublicInbox::InboxIdle; use PublicInbox::DS qw(now); use PublicInbox::IO qw(write_file); use PublicInbox::Eml; +use PublicInbox::Config; my $tmpdir = tmpdir; local $ENV{HOME} = "$tmpdir"; local $ENV{PI_CONFIG} = "$tmpdir/.public-inbox/config";