Commit cd3f951d authored by Andy Wilkinson's avatar Andy Wilkinson

Merge branch '1.4.x' into 1.5.x

parents bed51556 5dea4c5a
...@@ -139,7 +139,7 @@ public class DevToolsIntegrationTests { ...@@ -139,7 +139,7 @@ public class DevToolsIntegrationTests {
private int awaitServerPort() throws Exception { private int awaitServerPort() throws Exception {
long end = System.currentTimeMillis() + 20000; long end = System.currentTimeMillis() + 20000;
while (!this.serverPortFile.exists()) { while (this.serverPortFile.length() == 0) {
if (System.currentTimeMillis() > end) { if (System.currentTimeMillis() > end) {
throw new IllegalStateException( throw new IllegalStateException(
"server.port file was not written within 20 seconds"); "server.port file was not written within 20 seconds");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment