RFR: 8347296: WinInstallerUiTest fails in local test runs if the path to test work directory is longer that regular

Alexey Semenyuk asemenyuk at openjdk.org
Wed Jan 8 23:57:20 UTC 2025


Make names of msi files created in test cases of WinInstallerUiTest test shorter to workaround limitations of msi.exe on file path length.

Old msi file names:
WinInstallerUiTestWithDirChooserLicense-1.0.msi
WinInstallerUiTestWithDirChooserShortcutPrompt-1.0.msi
WinInstallerUiTestWithDirChooserShortcutPromptLicense-1.0.msi
WinInstallerUiTestWithShortcutPrompt-1.0.msi
WinInstallerUiTestWithShortcutPromptLicense-1.0.msi

New msi file names:
WinInstallerUiTestWithDcL-1.0.msi
WinInstallerUiTestWithDcSp-1.0.msi
WinInstallerUiTestWithDcSpL-1.0.msi
WinInstallerUiTestWithSp-1.0.msi
WinInstallerUiTestWithSpL-1.0.msi

-------------

Commit messages:
 - Update copyright year
 - Shorten names of variants of packages created by the WinInstallerUiTest test to avoid test failures when the test output directory is long enough that some paths exceed 260 characters.

Changes: https://git.openjdk.org/jdk/pull/22990/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22990&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8347296
  Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/22990.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22990/head:pull/22990

PR: https://git.openjdk.org/jdk/pull/22990


More information about the core-libs-dev mailing list