[issue6027] test_xmlrpc_net fails when the ISP returns "302 Found"

R. David Murray report at bugs.python.org
Sun Dec 26 20:42:19 CET 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

IMO there's no way to fix this.  I suggest closing it as invalid, since the problem is a buggy ISP DNS server, and the problem only occurs when time.xmlrpc.com is down.

The canonical fix to problems like this is to remove dependency on the external service, but that would presumably defeat the entire purpose of test_xmlrpc_net.  So one "fix" would be to delete this test entirely.  Which if we have mock-server xmlrpc tests, might not be out of the question as a solution.  Note that the second test in that file tests against the xmlrpc interface of our buildbot master, and that support has been formally removed by upstream and only restored by us...presumably at some point we'll drop support for it too, when it breaks too badly to be easily forward ported.

Since there was, if I remember correctly, an extended period when xmlrpc.com's time service was down, simply deleting this test file may in fact be the best move.

----------
nosy: +r.david.murray
versions: +Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6027>
_______________________________________


More information about the Python-bugs-list mailing list