Skip to content

Commit

Permalink
8249395: (macos) jpackage tests timeout on MacPro5_1 systems
Browse files Browse the repository at this point in the history
Reviewed-by: herrick, asemenyuk
  • Loading branch information
Alexander Matveev committed May 14, 2021
1 parent be0a655 commit 28f1c7a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ private Path buildDMG( Map<String, ? super Object> params,
"-fs", "HFS+",
"-format", "UDRW");
try {
IOUtils.exec(pb);
IOUtils.exec(pb, false, null, true, Executor.INFINITE_TIMEOUT);
} catch (IOException ex) {
Log.verbose(ex); // Log exception

Expand All @@ -346,7 +346,7 @@ private Path buildDMG( Map<String, ? super Object> params,
"-volname", APP_NAME.fetchFrom(params),
"-ov", protoDMG.toAbsolutePath().toString(),
"-fs", "HFS+");
IOUtils.exec(pb);
IOUtils.exec(pb, false, null, true, Executor.INFINITE_TIMEOUT);
}

// mount temp image
Expand Down Expand Up @@ -463,7 +463,7 @@ private Path buildDMG( Map<String, ? super Object> params,
"-force",
hdiUtilVerbosityFlag,
mountedRoot.toAbsolutePath().toString());
IOUtils.exec(pb);
IOUtils.exec(pb, false, null, true, Executor.INFINITE_TIMEOUT);
}
}
}
Expand Down Expand Up @@ -495,7 +495,7 @@ private Path buildDMG( Map<String, ? super Object> params,
hdiUtilVerbosityFlag,
"-format", "UDZO",
"-o", finalDMG.toAbsolutePath().toString());
IOUtils.exec(pb);
IOUtils.exec(pb, false, null, true, Executor.INFINITE_TIMEOUT);
} finally {
Files.deleteIfExists(protoDMG2);
}
Expand Down

1 comment on commit 28f1c7a

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.