X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=xt%2Feml_check_limits.t;h=a6d010af0518f3f8866eebf0ee018bd336147f44;hb=23af251dd607c4e75ab1e68063f2c885c48cc035;hp=cf780c77babaac401b72b6a38eb4925a1bc660c2;hpb=27f17d80e4e8e15b5e7d50045b1853ec7bdb4b3b;p=public-inbox.git diff --git a/xt/eml_check_limits.t b/xt/eml_check_limits.t index cf780c77..a6d010af 100644 --- a/xt/eml_check_limits.t +++ b/xt/eml_check_limits.t @@ -1,6 +1,8 @@ #!perl -w -# Copyright (C) 2020 all contributors +# Copyright (C) 2020-2021 all contributors # License: AGPL-3.0+ +use strict; +use v5.10.1; use Test::More; use PublicInbox::TestCommon; use PublicInbox::Eml; @@ -65,7 +67,7 @@ my $t = timeit(1, sub { ++$n; $git->cat_async($blob, $cat_cb); } - $git->cat_async_wait; + $git->async_wait_all; }); is($m, $n, 'scanned all messages'); diag "$$ $inboxdir took ".timestr($t)." for $n <=> $m messages";