RFR: 8327434: Test java/util/PluggableLocale/TimeZoneNameProviderTest.java timed out

Naoto Sato naoto at openjdk.org
Wed Mar 6 21:37:00 UTC 2024


Fixing timeout failures in the test case. Time zone names that are missing (chiefly for minor locales) are now calculated at runtime after the fix to JDK-8174269. This extra calculation time was multiplied in the test case as it iterated over all locales x timezones, which caused timeouts in some configurations. Changed the test case to not iterate all locales, but iterate over relevant ones.

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

Commit messages:
 - initial commit

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

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


More information about the core-libs-dev mailing list