DO NOT MERGE Mark locale extension test as NonCts.

Test checks that tz extension is parsed and reflected in Calendar
instance. That behaviour might (and does) change with newer ART
module.

For atest to work I've cherry-picked aosp/2654960.

Bug: 286993265
Test: atest CtsLibcoreTestCases:libcore.java.text.DateFormatTest
Change-Id: Ic4fa7453bb3089b717007c785867de7fbd1a1767
diff --git a/luni/src/test/java/libcore/java/text/DateFormatTest.java b/luni/src/test/java/libcore/java/text/DateFormatTest.java
index 83505e5..3db67b8 100644
--- a/luni/src/test/java/libcore/java/text/DateFormatTest.java
+++ b/luni/src/test/java/libcore/java/text/DateFormatTest.java
@@ -16,6 +16,8 @@
 
 package libcore.java.text;
 
+import libcore.test.annotation.NonCts;
+
 import java.util.TimeZone;
 import junit.framework.TestCase;
 
@@ -26,6 +28,10 @@
 
 public class DateFormatTest extends TestCase {
 
+    private static final String NON_BREAKING_BEHAVIOUR_FIX = "The test asserts buggy "
+              + "or non-breaking behaviors, but the behavior has been fixed in the future "
+              + "ART module version.";
+
     // Regression test for http://b/31762542. If this test fails it implies that changes to
     // DateFormat.is24Hour will not be effective.
     public void testIs24Hour_notCached() throws Exception {
@@ -58,6 +64,7 @@
         assertEquals(expectedDateString, actualDateString);
     }
 
+    @NonCts(bug = 286993265, reason = NON_BREAKING_BEHAVIOUR_FIX)
     public void testGetTimeInstance_withLocaleExtension() {
         Locale locale = Locale.forLanguageTag("en-u-tz-usden");
         DateFormat df = DateFormat.getTimeInstance(DateFormat.SHORT, locale);