diff options
| author | Yuexi Ma <yuexima@google.com> | 2021-06-08 18:42:15 +0000 |
|---|---|---|
| committer | Yuexi Ma <yuexima@google.com> | 2021-06-08 20:05:37 +0000 |
| commit | 8eb30b706460a763aee3865e2c1ddae0ce3cb333 (patch) | |
| tree | fe0720808e9042ed79e55b334f355e918ae81c6a | |
| parent | cc862c2aec238eea42a39f83a7a80034b71921f8 (diff) | |
| download | platform_test_app_compat_csuite-8eb30b706460a763aee3865e2c1ddae0ce3cb333.tar.gz platform_test_app_compat_csuite-8eb30b706460a763aee3865e2c1ddae0ce3cb333.tar.bz2 platform_test_app_compat_csuite-8eb30b706460a763aee3865e2c1ddae0ce3cb333.zip | |
Temporally disable a few unit test cases
Change-Id: Ie0f2cf7bcbc04fc08aad177b13809fac96e0a1fc
Test: atest csuite-harness-tests
Fix: 187380263
| -rw-r--r-- | harness/src/test/java/com/android/compatibility/targetprep/AppSetupPreparerTest.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/harness/src/test/java/com/android/compatibility/targetprep/AppSetupPreparerTest.java b/harness/src/test/java/com/android/compatibility/targetprep/AppSetupPreparerTest.java index 11fecd4..0a994b2 100644 --- a/harness/src/test/java/com/android/compatibility/targetprep/AppSetupPreparerTest.java +++ b/harness/src/test/java/com/android/compatibility/targetprep/AppSetupPreparerTest.java @@ -41,6 +41,7 @@ import static org.testng.Assert.assertThrows; import com.google.common.collect.ArrayListMultimap; import com.google.common.collect.ListMultimap; +import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; @@ -152,6 +153,7 @@ public final class AppSetupPreparerTest { } @Test + @Ignore // TODO(yuexima): Temporally disabled because of high flakiness b/187380263 public void setUp_exceedsTimeout_throwsException() throws Exception { TestAppInstallSetup installer = mock(TestAppInstallSetup.class); doAnswer(new AnswersWithDelay(10, EMPTY_ANSWER)).when(installer).setUp(any(), any()); @@ -164,8 +166,8 @@ public final class AppSetupPreparerTest { assertThrows(TargetSetupError.class, () -> preparer.setUp(NULL_DEVICE, NULL_BUILD_INFO)); } - // TODO(yuexima): Temporally disabled because of high flakiness b/187506768 - // @Test + @Test + @Ignore // TODO(yuexima): Temporally disabled because of high flakiness b/187506768 public void setUp_timesOutWithoutExceedingRetryLimit_doesNotThrowException() throws Exception { TestAppInstallSetup installer = mock(TestAppInstallSetup.class); doAnswer(new AnswersWithDelay(10, EMPTY_ANSWER)) @@ -183,6 +185,7 @@ public final class AppSetupPreparerTest { } @Test + @Ignore // TODO(yuexima): Temporally disabled because of high flakiness b/187380263 public void setUp_timesOutAndExceedsRetryLimit_doesNotThrowException() throws Exception { TestAppInstallSetup installer = mock(TestAppInstallSetup.class); doAnswer(new AnswersWithDelay(10, EMPTY_ANSWER)).when(installer).setUp(any(), any()); |
