]> Sergey Matveev's repositories - public-inbox.git/blobdiff - xt/git_async_cmp.t
imap+nntp: share COMPRESS implementation
[public-inbox.git] / xt / git_async_cmp.t
index f9c9ddefeb0cb23240397ebf58b5282e4da8910f..d66b371ff760153d8b2ee5b8b560d734807953b9 100644 (file)
@@ -1,5 +1,5 @@
 #!perl -w
-# Copyright (C) 2019-2020 all contributors <meta@public-inbox.org>
+# Copyright (C) 2019-2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict;
 use Test::More;
@@ -32,7 +32,7 @@ my $async = timeit($nr, sub {
                $git->cat_async($oid, $cb);
        }
        close $cat or die "cat: $?";
-       $git->cat_async_wait;
+       $git->async_wait_all;
        push @dig, ['async', $dig->hexdigest ];
 });