File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/test/java/io/prometheus/wls/rest Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 1515import com .meterware .pseudoserver .PseudoServlet ;
1616import com .meterware .pseudoserver .WebResource ;
1717import org .junit .Before ;
18- import org .junit .Ignore ;
1918import org .junit .Test ;
2019
2120import static io .prometheus .wls .rest .ServletConstants .AUTHENTICATION_HEADER ;
@@ -34,7 +33,7 @@ public class WebClientImplTest extends HttpUserAgentTest {
3433 private static final char QUOTE = '"' ;
3534
3635 /** A URL with a host guaranteed not to exist. */
37- private static final String UNDEFINED_HOST_URL = "http://seriously-this-should-not-exist/ " ;
36+ private static final String UNDEFINED_HOST_URL = "http://undefined.invalid " ;
3837
3938 /** A URL on a known host with a port on which no server is listening. */
4039 private static final String UNDEFINED_PORT_URL = "http://localhost:59236" ;
@@ -52,7 +51,6 @@ public void setUp() {
5251 sentHeaders .clear ();
5352 }
5453
55- @ Ignore ("The client seems to find something on some platforms??" )
5654 @ Test (expected = WebClientException .class )
5755 public void whenUnableToReachHost_throwException () throws Exception {
5856 factory .createClient ().withUrl (UNDEFINED_HOST_URL ).doGetRequest ();
You can’t perform that action at this time.
0 commit comments