X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Fxcpdb-reshard.t;h=5fce5ead7612b1b81aa5a80bfd93db9cfdc03ee7;hp=9f0034f1581305b5c32ab29f463876385087790a;hb=2710d3105e70ff467eff9e977325628b4e9dd1c5;hpb=2b359355ae5839a5597ba81a40194bb3503118a0 diff --git a/t/xcpdb-reshard.t b/t/xcpdb-reshard.t index 9f0034f1..5fce5ead 100644 --- a/t/xcpdb-reshard.t +++ b/t/xcpdb-reshard.t @@ -40,7 +40,7 @@ for my $i (1..$ndoc) { } $im->done; my @shards = grep(m!/\d+\z!, glob("$ibx->{inboxdir}/xap*/*")); -is(scalar(@shards), $nproc, 'got expected shards'); +is(scalar(@shards), $nproc - 1, 'got expected shards'); my $orig = $ibx->over->query_xover(1, $ndoc); my %nums = map {; "$_->{num}" => 1 } @$orig;