Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cro::HTTP::Test: Failed to resolve host name 'test' with family 0. Error: 'Name or service not known' #7

Open
christophhalbi opened this issue Feb 21, 2020 · 2 comments

Comments

@christophhalbi
Copy link

Hi,
Cro::HTTP::Test: doesn't seem to work on my maschine (opensuse). When I try to run the tests:

prove6
An operation first awaited:
in sub get-response at /home/cha/tmp/cro-http-test/lib/Cro/HTTP/Test.pm6 (Cro::HTTP::Test) line 270
in block at /home/cha/tmp/cro-http-test/lib/Cro/HTTP/Test.pm6 (Cro::HTTP::Test) line 163
in sub test at /home/cha/tmp/cro-http-test/lib/Cro/HTTP/Test.pm6 (Cro::HTTP::Test) line 158
in block at t/checks.t line 23

Died with the exception:
Failed to resolve host name 'test' with family 0. Error: 'Name or service not known'
in method connect at /home/cha/.perl6/sources/4C552961C48BC280040466B8F4FDBF4857F6FF2D (Cro::TCP) line 105
in block at /home/cha/.perl6/sources/2899DAB6B17740FA880976179E5F4AE25B9E987E (Cro) line 346

t/checks.t ...... Dubious, test returned 1
All 20 subtests passed

@jnthn
Copy link
Member

jnthn commented Feb 21, 2020

This is odd, it's as if it's trying to actually make a connection somewhere. Please can you check what Cro::HTTP version you have installed (and if not latest, try upgrading)?

@christophhalbi
Copy link
Author

`
Information for package perl6-Cro-HTTP:

Repository : atikon_it_perl6
Name : perl6-Cro-HTTP
Version : 0.8.2.2-lp151.1.2
`

But give me a moment to double-check. Maybe it's already working since we updated a lot of our modules recently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants