From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 0566E1FA12 for ; Wed, 9 Dec 2020 09:25:13 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 2/3] t/extsearch: use indexlevel=basic in inboxes Date: Wed, 9 Dec 2020 09:25:11 +0000 Message-Id: <20201209092512.25282-3-e@80x24.org> In-Reply-To: <20201209092512.25282-1-e@80x24.org> References: <20201209092512.25282-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: There's no need for per-inbox Xapian DBs when using extindex, so reduce wear on the poor systems this test runs on. --- t/extsearch.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/t/extsearch.t b/t/extsearch.t index 97786b21..96512227 100644 --- a/t/extsearch.t +++ b/t/extsearch.t @@ -25,8 +25,8 @@ EOF close $fh or BAIL_OUT $!; my $v2addr = 'v2test@example.com'; my $v1addr = 'v1test@example.com'; -ok(run_script([qw(-init -V2 v2test --newsgroup v2.example), "$home/v2test", - 'http://example.com/v2test', $v2addr ]), 'v2test init'); +ok(run_script([qw(-init -Lbasic -V2 v2test --newsgroup v2.example), + "$home/v2test", 'http://example.com/v2test', $v2addr ]), 'v2test init'); my $env = { ORIGINAL_RECIPIENT => $v2addr }; my $eml = eml_load('t/utf8.eml'); @@ -50,7 +50,7 @@ seek($fh, 0, SEEK_SET) or BAIL_OUT $!; $env = { ORIGINAL_RECIPIENT => $v1addr }; run_script(['-mda', '--no-precheck'], $env, { 0 => $fh }) or BAIL_OUT '-mda'; -run_script(['-index', "$home/v1test"]) or BAIL_OUT "index $?"; +run_script([qw(-index -Lbasic), "$home/v1test"]) or BAIL_OUT "index $?"; ok(run_script([qw(-extindex --all), "$home/extindex"]), 'extindex init'); {