关闭两个不稳定的测试

This commit is contained in:
小海
2019-11-29 23:26:53 +08:00
parent a5811364c7
commit 55ccff3451
2 changed files with 4 additions and 2 deletions

View File

@@ -161,7 +161,8 @@ public class LinksControllerTest extends BaseTest {
}); });
} }
@Test // 手动测试
// @Test
public void apply() throws Exception { public void apply() throws Exception {
long l = System.currentTimeMillis(); long l = System.currentTimeMillis();
String url = "https://www.example.com"; String url = "https://www.example.com";

View File

@@ -63,7 +63,8 @@ public class VisitorControllerTest extends BaseTest {
); );
} }
@Test // 手动测试
// @Test
public void ipLocation() throws Exception { public void ipLocation() throws Exception {
String ip = "127.0.0.1"; String ip = "127.0.0.1";
mockMvc.perform(get("/ip/" + ip)).andDo(MockMvcResultHandlers.print()).andDo(result -> { mockMvc.perform(get("/ip/" + ip)).andDo(MockMvcResultHandlers.print()).andDo(result -> {