]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/v1reindex.t
doc: 1.6.0 release notes update
[public-inbox.git] / t / v1reindex.t
index 8cb751881ca4e93d91f26811d4f1cac74aecf4cb..d70ed4b93da2957dc9019553cca9a740de60f83b 100644 (file)
@@ -221,7 +221,7 @@ ok(!-d $xap, 'Xapian directories removed again');
        $config{indexlevel} = 'medium';
        my $ibx = PublicInbox::Inbox->new(\%config);
        my $rw = PublicInbox::SearchIdx->new($ibx, 1);
-       eval { $rw->index_sync };
+       eval { $rw->index_sync({reindex => 1}) };
        is($@, '', 'no error from indexing');
        is_deeply(\@warn, [], 'no warnings');
        my $mset = $ibx->search->reopen->query('hello world', {mset=>1});