<i18n dev> Integrated: 8326718: Test java/util/Formatter/Padding.java should timeout on large inputs before fix in JDK-8299677

Chad Rakoczy duke at openjdk.org
Wed Mar 6 19:57:49 UTC 2024


On Tue, 27 Feb 2024 17:24:03 GMT, Chad Rakoczy <duke at openjdk.org> wrote:

> [JDK-8299677](https://bugs.openjdk.java.net/browse/JDK-8299677) fixes a bug with Formatter.format taking a long time when there is a lot of padding. This test runs Formatter.format with very large padding. Test fails before [JDK-8299677](https://bugs.openjdk.java.net/browse/JDK-8299677) and passes after.
> 
> Timeout for the test was set to 10 seconds. Test passes locally with as low as 1 (after [JDK-8299677](https://bugs.openjdk.java.net/browse/JDK-8299677)) and fails as high as 120 (before [JDK-8299677](https://bugs.openjdk.java.net/browse/JDK-8299677)) so it should be consistent.

This pull request has now been integrated.

Changeset: 4f336085
Author:    Chad Rakoczy <chadrako at amazon.com>
Committer: Raffaello Giulietti <rgiulietti at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4f336085d1098e7fba7b58f0a73c028179a2a13d
Stats:     41 lines in 1 file changed: 39 ins; 0 del; 2 mod

8326718: Test java/util/Formatter/Padding.java should timeout on large inputs before fix in JDK-8299677

Reviewed-by: rgiulietti

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

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


More information about the i18n-dev mailing list