Subject: | Test failures when there is a server at 192.0.2.2 but not at 192.0.2.1 |
Date: | Fri, 13 Feb 2015 14:51:21 +0000 |
To: | bug-Gearman [...] rt.cpan.org |
From: | Gareth Harper <cpan [...] spansh.co.uk> |
t/09-connect.t has a test which tests for the ramping timeout in Gearman.
It uses servers 192.0.2.1 and 192.0.2.2 and assumes that they will time
out. It is relatively safe as it tests 192.0.2.1 first and if it gets a
connection refused instantly then it will skip the tests however it does
not do the same for 192.0.2.2. It turns out that our upstream provider did
have a machine responding to 192.0.2.2 and this was causing test failures
as it simply refused the connection instantly.
The patch file provided fixes the issue (and ends up skipping the test) and
can be applied by "patch -p 0 <fix.patch" from within the source directory.
Thanks
Gareth
Message body is not shown because sender requested not to inline it.