Subject: | Can't connect to localhost:.... |
Sometimes tests fail like this:
...
Tests died: Invalid Request! Response Code: 500
Can't connect to localhost:7657 (Connection refused)
Connection refused at /opt/perl-5.29.10/lib/site_perl/5.29.10/LWP/Protocol/http.pm line 50, <DATA> line 16.
# Looks like you planned 7 tests but ran 1.
t/Book.t ............
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 6/7 subtests
...
Maybe there's a race condition between creating the server and running the requests?