Use staging provisioning server

Merge from Widevine repo of http://go/wvgerrit/94067

The android tests should use the staging provisioning server until
production is able to support core messages.

Test: ran WvCdmRequestLicenseTest.ProvisioningTest with v16 mod mock
Bug: 149622735
Change-Id: I4ec0cc8e8474dc4250e092473fef90d7358260de
This commit is contained in:
Fred Gylys-Colwell
2020-02-16 10:33:24 -08:00
parent ea2e110213
commit 3012ff29bd
4 changed files with 22 additions and 12 deletions

View File

@@ -91,8 +91,12 @@ adb_shell_run oemcrypto_test \
GTEST_FILTER="$GTEST_FILTER:*Level1Required" FORCE_LEVEL3_OEMCRYPTO=yes
adb_shell_run oemcrypto_test
# TODO(b/149720416): Remove this once the production provisioning server
# supports core messages..
PROVISIONING_ARG="--provisioning_server_url=https://staging-www.sandbox.googleapis.com/certificateprovisioning/v1/devicecertificates/create?key=AIzaSyB-5OLKTx2iU5mko18DfdwK5611JIjbUhE"
# Run request_license_test next to ensure device is provisioned
adb_shell_run request_license_test
adb_shell_run request_license_test $PROVISIONING_ARG
# cdm_extended_duration_test takes >30 minutes to run.
# adb_shell_run cdm_extended_duration_test