about summary refs log tree commit homepage
path: root/xt/eml_check_limits.t
diff options
context:
space:
mode:
Diffstat (limited to 'xt/eml_check_limits.t')
-rw-r--r--xt/eml_check_limits.t6
1 files changed, 2 insertions, 4 deletions
diff --git a/xt/eml_check_limits.t b/xt/eml_check_limits.t
index 536a25f1..1f89c6d4 100644
--- a/xt/eml_check_limits.t
+++ b/xt/eml_check_limits.t
@@ -1,15 +1,13 @@
 #!perl -w
-# Copyright (C) 2020-2021 all contributors <meta@public-inbox.org>
+# Copyright (C) all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict;
 use v5.10.1;
-use Test::More;
 use PublicInbox::TestCommon;
 use PublicInbox::Eml;
 use PublicInbox::Inbox;
 use List::Util qw(max);
 use Benchmark qw(:all :hireswallclock);
-use PublicInbox::Spawn qw(popen_rd);
 use Carp ();
 require_git(2.19); # for --unordered
 require_mods(qw(BSD::Resource));
@@ -67,7 +65,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";