Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit 1f5bae3

Browse files
author
Yuri Nesterenko
committed
8261279: sun/util/resources/cldr/TimeZoneNamesTest.java timed out
Backport-of: becee6435bc38c4e3fe5b197c985e68e97fc8e0d
1 parent 352a2b9 commit 1f5bae3

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
26+
* @bug 8181157 8202537 8234347 8236548 8261279
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
@@ -198,6 +198,7 @@ public void test_tzNames(String tzid, Locale locale, String lstd, String sstd, S
198198
public void test_getZoneStrings() {
199199
assertFalse(
200200
Arrays.stream(Locale.getAvailableLocales())
201+
.limit(30)
201202
.peek(l -> System.out.println("Locale: " + l))
202203
.map(l -> DateFormatSymbols.getInstance(l).getZoneStrings())
203204
.flatMap(zs -> Arrays.stream(zs))

0 commit comments

Comments
 (0)