Fix URL so it is guaranteed invalid forever.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@939870 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
aab7960bce
commit
0dcc10684f
|
@ -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");
|
HttpRequestBase request = new HttpGet("http://www.complete.garbage.invalid");
|
||||||
|
|
||||||
HttpConnectionParams.setConnectionTimeout(request.getParams(), 1);
|
HttpConnectionParams.setConnectionTimeout(request.getParams(), 1);
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue