Skip to content
Permalink
Browse files
8249395: (macos) jpackage tests timeout on MacPro5_1 systems
Reviewed-by: herrick, asemenyuk
  • Loading branch information
Alexander Matveev committed May 14, 2021
1 parent be0a655 commit 28f1c7ac4dfcf1df7df4eb94d270292b76baee12
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacDmgBundler.java
@@ -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

@@ -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
@@ -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);
}
}
}
@@ -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);
}

0 comments on commit 28f1c7a

Please sign in to comment.