Unit tests failed
Check:
- https://gitlab.com/pheix-pool/core-perl6/-/jobs/1372399415
- https://github.com/sergot/http-useragent/issues/238
Smth strange with get-connection method, maybe related to keep-alive implementation:
t/070-ua-simple.t ..........
1..7
Could not connect socket: Connection timed out
in method get-connection at /builds/pheix/http-useragent/lib/HTTP/UserAgent.pm6 (HTTP::UserAgent) line 419
in method get-connection at /builds/pheix/http-useragent/lib/HTTP/UserAgent.pm6 (HTTP::UserAgent) line 405
in method request at /builds/pheix/http-useragent/lib/HTTP/UserAgent.pm6 (HTTP::UserAgent) line 177
in method get at /builds/pheix/http-useragent/lib/HTTP/UserAgent.pm6 (HTTP::UserAgent) line 102
in method get at /builds/pheix/http-useragent/lib/HTTP/UserAgent.pm6 (HTTP::UserAgent) line 106
in sub get at /builds/pheix/http-useragent/lib/HTTP/UserAgent.pm6 (HTTP::UserAgent) line 565
in block <unit> at t/070-ua-simple.t line 10
# You planned 7 tests, but ran 0
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 7/7 subtests
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
Test Summary Report
-------------------
t/070-ua-simple.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 7 tests but ran 0.
t/080-ua.t (Wstat: 0 Tests: 8 Failed: 0)
TODO passed: 6, 8
t/090-ua-ssl.t (Wstat: 0 Tests: 2 Failed: 0)
TODO passed: 1
t/150-issue-64.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Parse errors: Bad plan. You planned 3 tests but ran 1.
Files=28, Tests=210, 333 wallclock secs ( 0.27 usr 0.10 sys + 82.80 cusr 5.67 csys = 88.84 CPU)
Result: FAIL
Edited by Konstantin Narkhov