Skip to content
Permalink
Browse files
8238781: [macos] jpackage tests failed due to "hdiutil: convert faile…
…d" in various ways

Reviewed-by: herrick, asemenyuk
  • Loading branch information
Alexander Matveev committed Dec 9, 2020
1 parent b977a7b commit e6b4c4d7162e9adf65aff321af08dab52cbde76e
Showing 1 changed file with 8 additions and 2 deletions.
@@ -469,7 +469,10 @@ private Path buildDMG( Map<String, ? super Object> params,
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 @@ private Path buildDMG( Map<String, ? super Object> params,
"-xml",
getConfig_LicenseFile(params).toAbsolutePath().toString()
);
IOUtils.exec(pb);
new RetryExecutor()
.setMaxAttemptsCount(10)
.setAttemptTimeoutMillis(3000)
.execute(pb);
}

//Delete the temporary image

1 comment on commit e6b4c4d

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on e6b4c4d Dec 9, 2020

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.