8249395: (macos) jpackage tests timeout on MacPro5_1 systems

Reviewed-by: herrick, asemenyuk
This commit is contained in:
Alexander Matveev 2021-05-14 23:00:59 +00:00
parent be0a655208
commit 28f1c7ac4d

@ -325,7 +325,7 @@ public class MacDmgBundler extends MacBaseInstallerBundler {
"-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 @@ public class MacDmgBundler extends MacBaseInstallerBundler {
"-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 @@ public class MacDmgBundler extends MacBaseInstallerBundler {
"-force",
hdiUtilVerbosityFlag,
mountedRoot.toAbsolutePath().toString());
IOUtils.exec(pb);
IOUtils.exec(pb, false, null, true, Executor.INFINITE_TIMEOUT);
}
}
}
@ -495,7 +495,7 @@ public class MacDmgBundler extends MacBaseInstallerBundler {
hdiUtilVerbosityFlag,
"-format", "UDZO",
"-o", finalDMG.toAbsolutePath().toString());
IOUtils.exec(pb);
IOUtils.exec(pb, false, null, true, Executor.INFINITE_TIMEOUT);
} finally {
Files.deleteIfExists(protoDMG2);
}