pom
This commit is contained in:
@@ -69,7 +69,7 @@ public class RestSleepTest {
|
|||||||
System.out.println("返回结果: " + new String(bytes, 0, pos));
|
System.out.println("返回结果: " + new String(bytes, 0, pos));
|
||||||
System.out.println("耗时: " + e + " ms");
|
System.out.println("耗时: " + e + " ms");
|
||||||
server.shutdown();
|
server.shutdown();
|
||||||
int exptime = Runtime.getRuntime().availableProcessors() > 1 ? 600 : 1100;
|
int exptime = Runtime.getRuntime().availableProcessors() > 2 ? 600 : 1100;
|
||||||
Assertions.assertTrue(e < exptime);
|
Assertions.assertTrue(e < exptime);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user