summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
author Sam Dubey <dubeyshubham@google.com> 2022-11-10 07:46:34 +0000
committer Sam Dubey <dubeyshubham@google.com> 2022-11-14 13:34:59 +0000
commit261cc401871eddc73bd0af80864a5eb21b7c9e97 (patch)
treeef4c51fc03503665a7b3a7a4287cc94d2e61bd19 /tests
parent0cacc5937c2e9f9337cdba62ad11556a20037165 (diff)
Disable inernal app before running tests
Debuggable reamdump data collection dialog is triggering up while running tests. These are causing flakes. While a better fix would be figuring out why these are triaggered, the wm tests should be independent of internal apps which an end user of Android won't see. Test: Forrest Bug: 258578781 Bug: 239384214 Change-Id: Ia4c0c670fe3e35f84640787cb8fce70e74edb264
Diffstat (limited to 'tests')
-rw-r--r--tests/FlickerTests/AndroidTest.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/FlickerTests/AndroidTest.xml b/tests/FlickerTests/AndroidTest.xml
index d91aa1ebe8f5..a7d6a018c9c7 100644
--- a/tests/FlickerTests/AndroidTest.xml
+++ b/tests/FlickerTests/AndroidTest.xml
@@ -15,6 +15,8 @@
<option name="run-command" value="cmd window tracing frame" />
<!-- ensure lock screen mode is swipe -->
<option name="run-command" value="locksettings set-disabled false" />
+ <!-- disable betterbug as it's log collection dialogues cause flakes in e2e tests -->
+ <option name="run-command" value="pm disable com.google.android.internal.betterbug" />
<!-- restart launcher to activate TAPL -->
<option name="run-command" value="setprop ro.test_harness 1 ; am force-stop com.google.android.apps.nexuslauncher" />
</target_preparer>