Skip to content

Commit eb8c6f5

Browse files
committed
8261279: sun/util/resources/cldr/TimeZoneNamesTest.java timed out
Backport-of: becee64
1 parent 5f99819 commit eb8c6f5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/jdk/sun/util/resources/cldr/TimeZoneNamesTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -23,7 +23,7 @@
2323

2424
/*
2525
* @test
26-
* @bug 8181157 8202537 8234347 8236548 8293834
26+
* @bug 8181157 8202537 8234347 8236548 8261279 8293834
2727
* @modules jdk.localedata
2828
* @summary Checks CLDR time zone names are generated correctly at runtime
2929
* @run testng/othervm -Djava.locale.providers=CLDR TimeZoneNamesTest
@@ -216,6 +216,7 @@ public void test_tzNames(String tzid, Locale locale, String lstd, String sstd, S
216216
public void test_getZoneStrings() {
217217
assertFalse(
218218
Arrays.stream(Locale.getAvailableLocales())
219+
.limit(30)
219220
.peek(l -> System.out.println("Locale: " + l))
220221
.map(l -> DateFormatSymbols.getInstance(l).getZoneStrings())
221222
.flatMap(zs -> Arrays.stream(zs))

0 commit comments

Comments
 (0)