Changed bad host for retry handler tests to bogus.example.com
from www.complete.garbage.invalid, which seems to have better timing properties for me (and hopefully Hudson). git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1053062 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4a63d6a0da
commit
b9851bc11c
|
@ -73,7 +73,7 @@ public class TestRequestRetryHandler {
|
||||||
TestHttpRequestRetryHandler testRetryHandler = new TestHttpRequestRetryHandler();
|
TestHttpRequestRetryHandler testRetryHandler = new TestHttpRequestRetryHandler();
|
||||||
client.setHttpRequestRetryHandler(testRetryHandler);
|
client.setHttpRequestRetryHandler(testRetryHandler);
|
||||||
|
|
||||||
HttpRequestBase request = new HttpGet("http://www.complete.garbage.invalid");
|
HttpRequestBase request = new HttpGet("http://bogus.example.com/");
|
||||||
|
|
||||||
HttpConnectionParams.setConnectionTimeout(request.getParams(), 1);
|
HttpConnectionParams.setConnectionTimeout(request.getParams(), 1);
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue