Changeset 12570 in josm


Ignore:
Timestamp:
2017-08-04T22:27:49+02:00 (3 months ago)
Author:
Don-vip
Message:

see #15102 - increase read timeout a bit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/functional/org/openstreetmap/josm/tools/HttpClientTest.java

    r12562 r12570  
    249249    @Test
    250250    public void testRequestInTime() throws IOException {
    251         final HttpClient.Response response = HttpClient.create(new URL("https://httpbin.org/delay/1")).setReadTimeout(1500).connect(progress);
     251        final HttpClient.Response response = HttpClient.create(new URL("https://httpbin.org/delay/1")).setReadTimeout(2000).connect(progress);
    252252        assertThat(response.getResponseCode(), is(200));
    253253    }
Note: See TracChangeset for help on using the changeset viewer.