diff --git a/tools/cldr-code/src/test/java/org/unicode/cldr/util/TestCoverageLevel2.java b/tools/cldr-code/src/test/java/org/unicode/cldr/util/TestCoverageLevel2.java index d7c4a43de8a..c026e0c900e 100644 --- a/tools/cldr-code/src/test/java/org/unicode/cldr/util/TestCoverageLevel2.java +++ b/tools/cldr-code/src/test/java/org/unicode/cldr/util/TestCoverageLevel2.java @@ -41,6 +41,11 @@ public void TestCoveragePerf() { } } + // For CLDR 46.1, temporarily skip coverage test for languages that would newly + // fail the coverage test; they are already added to coverage for CLDR 47. + static final Set NO_LANGUAGE_COVERAGE_IN_46_1 = + Set.of("ak", "ee", "gaa", "ii", "nso", "om", "rw", "st", "tn"); + @Test public void TestPriorBasicLanguage() throws IOException { // Fail if the language name is at above this level @@ -86,7 +91,10 @@ public void TestPriorBasicLanguage() throws IOException { if (covs.values().stream() .anyMatch((cov) -> cov.getLevel(xpath.toString()).isAbove(failIfAbove))) { // fail if level > failIfAbove for any of those locales - notInCoverage.add(lang); + // Temporarily skip new failures in 46.1, already addressed for 47. + if (!NO_LANGUAGE_COVERAGE_IN_46_1.contains(lang)) { + notInCoverage.add(lang); + } } } }