sergot / http-useragent

Web user agent class for Perl 6.
MIT License
36 stars 39 forks source link

Unit test 150-issue-64.t fails #238

Closed pheix closed 2 years ago

pheix commented 3 years ago

got this right now:

t/150-issue-64.t ........... 
1..3
not ok 1 - make request to 'http://purl.org/dc/elements/1.1/' lives
# Failed test 'make request to 'http://purl.org/dc/elements/1.1/' lives'
# at t/150-issue-64.t line 21
# Could not connect socket: Connection timed out
Cannot look up attributes in a HTTP::Response type object
  in method is-success at /builds/pheix/http-useragent/lib/HTTP/Response.pm6 (HTTP::Response) line 58
  in block <unit> at t/150-issue-64.t line 22
# You planned 3 tests, but ran 1
# You failed 1 test of 1
Dubious, test returned 1 (wstat 256, 0x100)
Failed 3/3 subtests 

Maybe it's just a single server failure, but need to be checked.

pheix commented 3 years ago

just FYI, now t/150-issue-64.t works as expected:

t/150-issue-64.t ........... 
1..3
ok 1 - make request to 'http://purl.org/dc/elements/1.1/' lives
ok 2 - request was successful
ok 3 - and got some content back
ok

I think, it was a random host failure. I suppose to close this ticket if no one will report the same in month.

pheix commented 2 years ago

closed!