Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 33203ef6 authored by Sal Savage's avatar Sal Savage
Browse files

Make BluetoothInstrumentationTests preparer multi-user aware

The current target_preparer only calls "svc bluetooth enable|disable"
under user 0. These calls will fail for multi-user builds where
Bluetooth is being ran/tested under a user that isn't user 0.

This change will make the preparer run the command under the current
user instead. It should solve considerable test flake and test coverage
statistic problems on multi-user builds.

Tag: #stability
Bug: 203807060
Test: atest BluetoothInstrumentationTests -- run on a car with user 10
Change-Id: I294ff9f2118e62824b6a2ee045b371434003a01a
parent ef2cf803
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment