From dd80dcaa1e46543893de533938a1651639f91f10 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 30 Jul 2021 12:18:55 +0000 Subject: extindex: -xcpdb and -compact support Since extindex uses Xapian shards in a similar way to v2 inboxes, we'll support -xcpdb (reshard+upgrade) and -compact all the same to give admins tuning+upgrade options. --- t/indexlevels-mirror.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 't/indexlevels-mirror.t') diff --git a/t/indexlevels-mirror.t b/t/indexlevels-mirror.t index bd140cc4..e606e79b 100644 --- a/t/indexlevels-mirror.t +++ b/t/indexlevels-mirror.t @@ -158,7 +158,8 @@ my $import_index_incremental = sub { SKIP: { skip 'xapian-compact missing', 1 if !have_xapian_compact; my $cmd = [ qw(-compact), $mirror ]; - ok(run_script($cmd, undef, { 2 => \$err}), "compact $level"); + ok(run_script($cmd, undef, { 2 => \$err}), "compact $level") + or diag $err; } }; -- cgit v1.2.3-24-ge0c7