This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git
commit 3c1827f39a6c1b652d95b1fe4231b6ffd984963a Author: Gary Gregory <[email protected]> AuthorDate: Sun Jan 18 08:56:39 2026 -0500 Isolate "random" failing tests from FastDateParser_TimeZoneStrategyTest.testTimeZoneStrategyPattern_TimeZone_getAvailableIDs - Add FastDateParser_TimeZoneStrategyTest.testTimeZoneStrategyPatternPortugal_ST() - Add FastDateParser_TimeZoneStrategyTest.testTimeZoneStrategyPatternPortugal_TL() --- .../time/FastDateParser_TimeZoneStrategyTest.java | 24 ++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java b/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java index 99c3feaeb..517918c79 100644 --- a/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java +++ b/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java @@ -237,7 +237,7 @@ void testTimeZoneStrategyPattern_zh_HK_Hans() throws ParseException { } /** - * Breaks randomly on GitHub for Locale "pt_PT", TimeZone "Etc/UTC" if we do not check if the Locale's language is "undetermined". + * Breaks randomly on GitHub CI for Locale "pt_PT", TimeZone "Etc/UTC" if we do not check if the Locale's language is "undetermined". * * <pre>{@code * java.text.ParseException: Unparseable date: Horário do Meridiano de Greenwich: with tzDefault = @@ -248,10 +248,30 @@ void testTimeZoneStrategyPattern_zh_HK_Hans() throws ParseException { * @throws ParseException Test failure */ @Test - void testTimeZoneStrategyPatternPortugal() throws ParseException { + void testTimeZoneStrategyPatternPortugal_PT() throws ParseException { testTimeZoneStrategyPattern("pt_PT", "Horário do Meridiano de Greenwich"); } + /** + * Breaks randomly on GitHub CI for Java 25 and Locale "pt_ST", TimeZone "Hora padrão de Damasco". + * + * @throws ParseException Test failure + */ + @Test + void testTimeZoneStrategyPatternPortugal_ST() throws ParseException { + testTimeZoneStrategyPattern("pt_ST", "Hora padrão de Damasco"); + } + + /** + * Breaks randomly on GitHub CI for Java 25 and Locale "pt_TL", TimeZone "Hora padrão de Damasco". + * + * @throws ParseException Test failure + */ + @Test + void testTimeZoneStrategyPatternPortugal_TL() throws ParseException { + testTimeZoneStrategyPattern("pt_TL", "Hora padrão de Damasco"); + } + /** * Breaks randomly on GitHub for Locale "sr_ME_#Cyrl", TimeZone "Etc/UTC" if we do not check if the Locale's language is "undetermined". *
