From e62377a1e727ea9b48511d048aae4b1fa9bab5ab Mon Sep 17 00:00:00 2001 From: Chaohui Wang Date: Sat, 26 Nov 2022 21:04:45 +0800 Subject: [PATCH] Reduce flaky of App Info tests Bug: 236346018 Test: Unit test Change-Id: If810ef57675b8fb3bab533360bb62cc41a8cc9d8 --- .../settings/spa/app/appinfo/AppAllServicesPreferenceTest.kt | 1 + .../settings/spa/app/appinfo/AppSettingsPreferenceTest.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/spa_unit/src/com/android/settings/spa/app/appinfo/AppAllServicesPreferenceTest.kt b/tests/spa_unit/src/com/android/settings/spa/app/appinfo/AppAllServicesPreferenceTest.kt index bd73d8bcce7..41f57af9554 100644 --- a/tests/spa_unit/src/com/android/settings/spa/app/appinfo/AppAllServicesPreferenceTest.kt +++ b/tests/spa_unit/src/com/android/settings/spa/app/appinfo/AppAllServicesPreferenceTest.kt @@ -167,6 +167,7 @@ class AppAllServicesPreferenceTest { AppAllServicesPreference(APP) } } + composeTestRule.delay() } private companion object { diff --git a/tests/spa_unit/src/com/android/settings/spa/app/appinfo/AppSettingsPreferenceTest.kt b/tests/spa_unit/src/com/android/settings/spa/app/appinfo/AppSettingsPreferenceTest.kt index 35811e251c2..7c6dfcefb48 100644 --- a/tests/spa_unit/src/com/android/settings/spa/app/appinfo/AppSettingsPreferenceTest.kt +++ b/tests/spa_unit/src/com/android/settings/spa/app/appinfo/AppSettingsPreferenceTest.kt @@ -145,6 +145,7 @@ class AppSettingsPreferenceTest { AppSettingsPreference(APP) } } + composeTestRule.delay() } private companion object {