From a6e8a38c204f63504592716021f2fd19c187eb96 Mon Sep 17 00:00:00 2001 From: Rahul Frias Date: Fri, 16 Mar 2018 00:36:37 -0700 Subject: [PATCH] Disable UsageOverflowTest [ Merge of http://go/wvgerrit/45661 ] This test was written to verify that the last 50 entries were maintained by the usage table (OEMCrypto v9-11). With OEMCrypto v13+, that limit has been removed and this is no longer an appropriate test. I have disabled the test for now and will replace/rewrite with one appropriate for big usage tables. Bug: 30022298 Test: Ran cdm_extended_duration_tests Change-Id: I23d54bb57c92b391f80817945626898fd590078f --- libwvdrmengine/cdm/test/cdm_extended_duration_test.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libwvdrmengine/cdm/test/cdm_extended_duration_test.cpp b/libwvdrmengine/cdm/test/cdm_extended_duration_test.cpp index eaf9f4a7..6fa9c60a 100644 --- a/libwvdrmengine/cdm/test/cdm_extended_duration_test.cpp +++ b/libwvdrmengine/cdm/test/cdm_extended_duration_test.cpp @@ -930,7 +930,10 @@ TEST_F(WvCdmExtendedDurationTest, DecryptionCloseSessionConcurrencyTest) { decryptor_.CloseSession(session_id); } -TEST_F(WvCdmExtendedDurationTest, UsageOverflowTest) { +// TODO(rfrias): Rewite this test when OEMCrypto v13 is the minimum version +// supported. The limitation of 50 usage entries are no longer present +// when using usage table header+entries. +TEST_F(WvCdmExtendedDurationTest, DISABLED_UsageOverflowTest) { Provision(); TestWvCdmClientPropertySet client_property_set; TestWvCdmClientPropertySet* property_set = NULL;