]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/psgi_v2.t
www: favor reading more from SQLite, and less from Xapian
[public-inbox.git] / t / psgi_v2.t
index bdf23deb1c0080f382d1634712dc57070f2b2e1c..faa139fb7aa2a64ae0405d5124071ce271e995b7 100644 (file)
@@ -129,6 +129,7 @@ test_psgi(sub { $www->call(@_) }, sub {
                is(scalar(@from_), 3, 'three From_ lines in t.mbox.gz');
 
                # search interface
+               $config->each_inbox(sub { $_[0]->search->reopen });
                $res = $cb->(POST('/v2test/?q=m:a-mid@b&x=m'));
                $in = $res->content;
                $status = IO::Uncompress::Gunzip::gunzip(\$in => \$out);