]> granicus.if.org Git - python/commit
Make the test more robust by trying to reconnect up to 3 times
authorNeal Norwitz <nnorwitz@gmail.com>
Fri, 25 Jan 2008 06:37:23 +0000 (06:37 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Fri, 25 Jan 2008 06:37:23 +0000 (06:37 +0000)
commit769d0eefd75e5d921806caf75450c7c3a706bd1c
treed79b5b4944c5813a2d5e2655f3111da36e2d926b
parent9ec7bc36fe9e16f8098c869e2bf48a16e08f9890
Make the test more robust by trying to reconnect up to 3 times
in case there were transient failures.  This will hopefully silence
the buildbots for this test.  As we find other tests that have a problem,
we can fix with a similar strategy assuming it is successful.  It worked
on my box in a loop for 10+ runs where it would have an exception otherwise.
Lib/test/test_urllib2net.py