t/indexlevels-mirror.t | 1 + t/xcpdb-reshard.t | 1 + diff --git a/t/indexlevels-mirror.t b/t/indexlevels-mirror.t index f1c338e189fa5d648ff1532597e95677635fa440..3d4813bec9e814227b3dbc0c8f9480a066d50ce8 100644 --- a/t/indexlevels-mirror.t +++ b/t/indexlevels-mirror.t @@ -32,6 +32,7 @@ sub import_index_incremental { my ($v, $level) = @_; my $this = "pi-$v-$level-indexlevels"; my ($tmpdir, $for_destroy) = tmpdir(); + local $ENV{PI_CONFIG} = "$tmpdir/config"; my $ibx = PublicInbox::Inbox->new({ inboxdir => "$tmpdir/testbox", name => $this, diff --git a/t/xcpdb-reshard.t b/t/xcpdb-reshard.t index ebf156a31968a68829c134115f1e969b7e112ed4..a4ab35d6c7a10f386f36c1830564a93e6d55dca4 100644 --- a/t/xcpdb-reshard.t +++ b/t/xcpdb-reshard.t @@ -25,6 +25,7 @@ ); my ($this) = (split('/', $0))[-1]; my ($tmpdir, $for_destroy) = tmpdir(); +local $ENV{PI_CONFIG} = "$tmpdir/config"; my $ibx = PublicInbox::Inbox->new({ inboxdir => "$tmpdir/testbox", name => $this,