Skip to content

Commit 1835da6

Browse files
committed
Increasing timeout for command to run as docker could be slower
1 parent bf3d535 commit 1835da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/dev/coldhands/pair/stairs/cli/RunnerContractIT.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ private ProcessResult runProcess(String... command) throws IOException, Interrup
109109
CompletableFuture<String> stdout = readStream(process.getInputStream());
110110
CompletableFuture<String> stderr = readStream(process.getErrorStream());
111111

112-
if (!process.waitFor(5, TimeUnit.SECONDS)) {
112+
if (!process.waitFor(60, TimeUnit.SECONDS)) {
113113
throw new RuntimeException("Timed out waiting for command to finish: " + Arrays.toString(command));
114114
}
115115

0 commit comments

Comments
 (0)