Correct SecureStop_RecoveryTest
[ Merge of http://go/wvgerrit/209611 ] [Reset crypto session pointers on RemoveKeys](http://go/wvgerrit/189590) changed the plugin behavior. When RemoveKeys are called the Provider Session Token present in the license is cleared when CdmLicense object is reset. This causes a test expectation to fail. Since SecureStop are slated for removal, we will introduce a workaround to avoid this expectation check. The work around is to not expect usage information. Bug: 339917270 Test: request_license_test (WvCdmRequestLicenseTest.SecureStop_RecoveryTest) Flag: Test only code Change-Id: Ib6922372faf0a38b7bf131f699c4626cb2b533d0
This commit is contained in:
@@ -4927,7 +4927,7 @@ TEST_F(WvCdmRequestLicenseTest, SecureStop_RecoveryTest) {
|
||||
std::string response;
|
||||
VerifyKeyRequestResponse(CdmResponseType(wvcdm::STORE_USAGE_INFO_ERROR),
|
||||
config_.license_server(), config_.client_auth(),
|
||||
true, &response);
|
||||
false, &response);
|
||||
|
||||
decryptor_->CloseSession(session_id_);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user