> - I was not able to reproduce this issue. > - Based on log we calling same detach command simultaneously: > > [08:49:10.288] TRACE: exec: Execute [/usr/bin/hdiutil detach -force -verbose > /Volumes/Foo](5); discard out+err... > [08:49:10.274] TRACE: exec: Execute [/usr/bin/hdiutil detach -force -verbose > /Volumes/Foo](5); discard out+err... > > - I think `hdiutil` does not handle attaching/detaching DMG with same name > asynchronously multiple times well enough. > - Fixed by mounting DMG into random location. > - Added `-nobrowse`, so DMG will not be added to Finder. We do not need DMG > to be shown in Finder when attached during test.
Alexander Matveev has updated the pull request incrementally with one additional commit since the last revision: 8373105: Test tools/jpackage/share/AsyncTest.java failed: problem running hdiutil [v2] ------------- Changes: - all: https://git.openjdk.org/jdk/pull/28912/files - new: https://git.openjdk.org/jdk/pull/28912/files/c4583ecd..cdba5272 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=28912&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28912&range=00-01 Stats: 7 lines in 1 file changed: 0 ins; 6 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/28912.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/28912/head:pull/28912 PR: https://git.openjdk.org/jdk/pull/28912
