/*
 * This file contains expectations for ART's buildbot when running gcstress in debug mode.
 * The script that uses this file is art/tools/run-libcore-tests.sh.
 */

[
{
  description: "Timeouts on target with gcstress and debug.",
  result: EXEC_FAILED,
  modes: [device_testdex],
  names: ["jsr166.CompletableFutureTest#testCompleteOnTimeout_completed",
          "jsr166.CompletableFutureTest#testDelayedExecutor",
          "jsr166.ExecutorsTest#testTimedCallable",
          "jsr166.RecursiveActionTest#testJoinIgnoresInterruptsOutsideForkJoinPool",
          "libcore.libcore.icu.TransliteratorTest#testAll",
          "libcore.libcore.icu.RelativeDateTimeFormatterTest#test_bug25821045",
          "libcore.libcore.icu.RelativeDateTimeFormatterTest#test_bug25883157",
          "libcore.java.lang.ref.ReferenceQueueTest#testRemoveWithDelayedResultAndTimeout",
          "libcore.java.text.DecimalFormatTest#testWhitespaceError",
          "libcore.java.text.DecimalFormatTest#testWhitespaceTolerated",
          "libcore.java.text.DecimalFormatTest#test_exponentSeparator",
          "libcore.java.text.DecimalFormatTest#test_setMaximumFractionDigitsAffectsRoundingMode",
          "libcore.java.util.jar.OldJarFileTest#test_ConstructorLjava_io_File",
          "libcore.java.util.jar.OldJarFileTest#test_ConstructorLjava_lang_StringZ",
          "libcore.java.util.jar.OldJarInputStreamTest#test_read$ZII",
          "libcore.java.util.TimeZoneTest#testSetDefaultDeadlock",
          "libcore.javax.crypto.CipherBasicsTest#testBasicEncryption",
          "org.apache.harmony.tests.java.lang.ref.ReferenceQueueTest#test_removeJ",
          "org.apache.harmony.tests.java.text.MessageFormatTest#test_parseLjava_lang_String",
          "org.apache.harmony.tests.java.util.ControlTest#test_toBundleName_LStringLLocale",
          "org.apache.harmony.tests.java.util.TimerTest#testThrowingTaskKillsTimerThread"
        ]
},
{
  description: "Timeouts on host with gcstress and debug.",
  result: EXEC_FAILED,
  modes: [host],
  names: ["jsr166.StampedLockTest#testWriteAfterReadLock",
          "jsr166.StampedLockTest#testReadTryLock_Interruptible",
          "jsr166.StampedLockTest#testReadLockInterruptibly_Interruptible",
          "jsr166.StampedLockTest#testReadLockInterruptibly",
          "jsr166.StampedLockTest#testWriteLockInterruptibly",
          "org.apache.harmony.tests.java.lang.ProcessManagerTest#testSleep",
          "libcore.java.lang.StringTest#testFastPathString_wellFormedUtf8Sequence"
  ]
},
{
  description: "Sometimes times out with gcstress and debug.",
  result: EXEC_FAILED,
  bug: 78228743,
  names: [
    "libcore.libcore.icu.RelativeDateTimeFormatterTest#test_combineDateAndTime_apostrophe",
    "libcore.libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeDateTimeString",
    "libcore.libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeDateTimeStringCTS",
    "libcore.libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeDateTimeStringDST",
    "libcore.libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeDateTimeStringItalian",
    "libcore.libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeTimeSpanString",
    "libcore.libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeTimeSpanStringAbbrev",
    "libcore.libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeTimeSpanStringCTS",
    "libcore.libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeTimeSpanStringFrench",
    "libcore.libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeTimeSpanStringGerman"
  ]
}
]
