[ISSUE delete unstable unit test
@@ -39,11 +39,6 @@ public final class UpstreamCheckUtilsTest {
assertFalse(UpstreamCheckUtils.checkUrl(""));
}
- @Test
- public void testNotIp() {
- assertFalse(UpstreamCheckUtils.checkUrl("test"));
- }
-
@Test
@SneakyThrows
public void testSocketConnect() {
@@ -68,6 +63,5 @@ public final class UpstreamCheckUtilsTest {
assertFalse(UpstreamCheckUtils.checkUrl("http://127.0.0.1:" + (port == 0 ? port + 1 : port - 1)));
assertTrue(UpstreamCheckUtils.checkUrl("http://127.0.0.1:" + port));
assertTrue(UpstreamCheckUtils.checkUrl("https://shenyu.apache.org"));
- assertTrue(UpstreamCheckUtils.checkUrl("shenyu.apache.org"));
}
}
