mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-08 01:25:31 +00:00
8238781: [macos] jpackage tests failed due to "hdiutil: convert failed" in various ways
Reviewed-by: herrick, asemenyuk
This commit is contained in:
parent
b977a7b8a5
commit
e6b4c4d716
@ -469,7 +469,10 @@ public class MacDmgBundler extends MacBaseInstallerBundler {
|
||||
hdiUtilVerbosityFlag,
|
||||
"-format", "UDZO",
|
||||
"-o", finalDMG.toAbsolutePath().toString());
|
||||
IOUtils.exec(pb);
|
||||
new RetryExecutor()
|
||||
.setMaxAttemptsCount(10)
|
||||
.setAttemptTimeoutMillis(3000)
|
||||
.execute(pb);
|
||||
|
||||
//add license if needed
|
||||
if (Files.exists(getConfig_LicenseFile(params))) {
|
||||
@ -480,7 +483,10 @@ public class MacDmgBundler extends MacBaseInstallerBundler {
|
||||
"-xml",
|
||||
getConfig_LicenseFile(params).toAbsolutePath().toString()
|
||||
);
|
||||
IOUtils.exec(pb);
|
||||
new RetryExecutor()
|
||||
.setMaxAttemptsCount(10)
|
||||
.setAttemptTimeoutMillis(3000)
|
||||
.execute(pb);
|
||||
}
|
||||
|
||||
//Delete the temporary image
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user