Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Gearman CPAN distribution.

Report information
The Basics
Id: 102103
Status: resolved
Priority: 0/
Queue: Gearman

People
Owner: info [...] maximka.de
Requestors: cpan [...] spansh.co.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.130.001



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.

Test script was rewritten in v1.130.001 https://github.com/p-alik/perl-Gearman/blob/master/t/09-connect.t Test will be skipped if any of mentioned IP's will be reachable
09-connect.t skips testing because some tests fail occasionally.