Skip to content

Commit 60a75e3

Browse files
committed
Increase timeout for ApplicationRunner task
1 parent 5ba52d0 commit 60a75e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildSrc/src/main/java/org/springframework/boot/build/docs/ApplicationRunner.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ void runApplication() throws IOException {
132132
}
133133

134134
private void awaitLogging(Process process) {
135-
long end = System.currentTimeMillis() + 30000;
135+
long end = System.currentTimeMillis() + 60000;
136136
String expectedLogging = this.expectedLogging.get();
137137
List<String> outputLines = Collections.emptyList();
138138
while (System.currentTimeMillis() < end) {
@@ -147,7 +147,7 @@ private void awaitLogging(Process process) {
147147
}
148148
}
149149
StringBuilder message = new StringBuilder(
150-
"After 30 seconds '" + expectedLogging + "' had not be logged in the following output:\n\n");
150+
"After 60 seconds '" + expectedLogging + "' had not be logged in the following output:\n\n");
151151
outputLines.forEach((line) -> message.append(line).append("\n"));
152152
throw new IllegalStateException(message.toString());
153153
}

0 commit comments

Comments
 (0)