File tree 1 file changed +1
-3
lines changed
src/test/java/io/prometheus/wls/rest
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 15
15
import com .meterware .pseudoserver .PseudoServlet ;
16
16
import com .meterware .pseudoserver .WebResource ;
17
17
import org .junit .Before ;
18
- import org .junit .Ignore ;
19
18
import org .junit .Test ;
20
19
21
20
import static io .prometheus .wls .rest .ServletConstants .AUTHENTICATION_HEADER ;
@@ -34,7 +33,7 @@ public class WebClientImplTest extends HttpUserAgentTest {
34
33
private static final char QUOTE = '"' ;
35
34
36
35
/** 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 " ;
38
37
39
38
/** A URL on a known host with a port on which no server is listening. */
40
39
private static final String UNDEFINED_PORT_URL = "http://localhost:59236" ;
@@ -52,7 +51,6 @@ public void setUp() {
52
51
sentHeaders .clear ();
53
52
}
54
53
55
- @ Ignore ("The client seems to find something on some platforms??" )
56
54
@ Test (expected = WebClientException .class )
57
55
public void whenUnableToReachHost_throwException () throws Exception {
58
56
factory .createClient ().withUrl (UNDEFINED_HOST_URL ).doGetRequest ();
You can’t perform that action at this time.
0 commit comments