--- Comment #5 from Petr Pisar <ppi...@redhat.com> ---
Running in local mock:
# perl -Ilib t/50resolver.t
ok 1 - '$loop->resolver' isa 'IO::Async::Resolver'
ok 2 - '$future' isa 'Future'
ok 3 - getpwuid from future
ok 4 - getpwuid
ok 5 - getpwuid via $loop->resolve
ok 6 - getpwnam
ok 7 - getprotobyname
ok 8 - getprotobynumber
ok 9 - getaddrinfo_array - resolved
ok 10 - getaddrinfo_array - resolved addresses
ok 11 - getaddrinfo_hash - resolved
ok 12 - getaddrinfo_hash - resolved addresses
ok 13 - $resolver->getaddrinfo - resolved
ok 14 - $resolver->getaddrinfo - resolved addresses
ok 15 - '$future for $resolver->getaddrinfo' isa 'Future'
ok 16 - $resolver->getaddrinfo - resolved addresses
ok 17 - $resolver->getaddrinfo on numeric host/service is synchronous
ok 18 - $resolver->getaddrinfo resolved addresses synchronously
ok 19 - $resolver->getaddrinfo on numeric host/no service is synchronous
ok 20 - $resolver->getaddrinfo resolved addresses synchronously with no service
ok 21 - $resolver->getaddrinfo passive - resolved synchronously
ok 22 - $resolver->getaddrinfo passive - resolved addresses
ok 23 - '$future for $resolver->getaddrinfo numerical' isa 'Future'
ok 24 - $resolver->getaddrinfo resolved addresses synchronously
Here is hangs. And then it spits out:
Nothing was ready after 10 second wait; called at lib/IO/Async/Test.pm line 214
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 24.
This hang is at t/50resolver.t:327 on:
skip "Resolver has an answer for $missinghost", 1 if gethostbyname(
then the error about 10-second wait is from subsequent command:
my $future = wait_for_future $resolver->getaddrinfo(
host => $missinghost,
service => "80",
socktype => SOCK_STREAM,
So the test tries to resolve nonexistent domain name and after a 40-second
timeout in glibc resolver, the wait_for_future dies after 10 seconds with the
If I comment out the "skip" test, it still dies after 10 seconds. It looks like
the $resolver has 10-second timeout and the test expect a negative answer from
a glibc resolved comes sooner. Sooner that glibc-in-mock's 40 seconds.
You are receiving this mail because:
You are on the CC list for the bug.
perl-devel mailing list -- firstname.lastname@example.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org