Workaround for single IPC connection

The widevine service is restarted before tests are run as
unit tests are unable to connect to trusty. It then falls back
and runs the tests in L3 mode. Fix will be addressed in b/380710738

Bug: 339917270
Test: wv unit/integration tests
Change-Id: Idd4de73a9667cd360101f50a474a26ba8e73973b
This commit is contained in:
Rahul Frias
2025-01-24 01:21:40 -08:00
parent ae80e87d0e
commit ead47285c6

View File

@@ -78,6 +78,10 @@ if echo $ADB_OUTPUT | grep -qi "verity" | grep -vi "Verity is already disabled";
exit -1
fi
# TODO(kelzhan, b/380710738): Temporary workaround for the single IPC connection
# problem preventing unit tests from connecting to trusty
adb shell pkill -f -9 widevine
# Run oemcrypto tests first due to historical test order issues
adb_shell_run oemcrypto_test \
GTEST_FILTER="$GTEST_FILTER:*Level1Required" FORCE_LEVEL3_OEMCRYPTO=yes