File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
sbe-tool/src/test/java/uk/co/real_logic/sbe/generation/rust Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ private static boolean cargoCheckInDirectory(final File folder) throws IOExcepti
189189 final ProcessBuilder builder = new ProcessBuilder ("cargo" , "check" );
190190 builder .directory (folder );
191191 final Process process = builder .start ();
192- process .waitFor (20 , TimeUnit .SECONDS );
192+ process .waitFor (30 , TimeUnit .SECONDS );
193193 final boolean success = process .exitValue () == 0 ;
194194
195195 if (!success )
@@ -217,10 +217,10 @@ private static boolean cargoExists()
217217 {
218218 final ProcessBuilder builder = new ProcessBuilder ("cargo" , "-v" );
219219 final Process process = builder .start ();
220- process .waitFor (20 , TimeUnit .SECONDS );
220+ process .waitFor (5 , TimeUnit .SECONDS );
221221 return process .exitValue () == 0 ;
222222 }
223- catch (final IOException | InterruptedException ignore )
223+ catch (final IOException | InterruptedException | IllegalThreadStateException ignore )
224224 {
225225 return false ;
226226 }
You can’t perform that action at this time.
0 commit comments