Changeset 16737 in josm


Ignore:
Timestamp:
2020-07-06T22:25:55+02:00 (4 years ago)
Author:
stoecker
Message:

disable broken tests (service broken)

File:
1 edited

Legend:

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

    r16677 r16737  
    196196    }
    197197
    198     @Test
     198    /*@Test
    199199    public void testRelativeRedirects() throws IOException {
    200200        final HttpClient.Response response = HttpClient.create(new URL("https://httpbin.org/relative-redirect/3")).connect(progress);
    201201        assertThat(response.getResponseCode(), is(200));
    202202        assertThat(response.getContentLength() > 100, is(true));
    203     }
    204 
    205     @Test
     203    }*/
     204
     205    /*@Test
    206206    public void testAbsoluteRedirects() throws IOException {
    207207        final HttpClient.Response response = HttpClient.create(new URL("https://httpbin.org/absolute-redirect/3")).connect(progress);
    208208        assertThat(response.getResponseCode(), is(200));
    209209        assertThat(response.getContentLength() > 100, is(true));
    210     }
     210    }*/
    211211
    212212    /**
     
    214214     * @throws IOException if an I/O error occurs
    215215     */
    216     @Test(expected = IOException.class)
     216    /*@Test(expected = IOException.class)
    217217    public void testTooMuchRedirects() throws IOException {
    218218        HttpClient.create(new URL("https://httpbin.org/redirect/3")).setMaxRedirects(2).connect(progress);
    219     }
     219    }*/
    220220
    221221    /**
Note: See TracChangeset for help on using the changeset viewer.