From 7b6d5ebea10628bc216843a142026b21f5df54f3 Mon Sep 17 00:00:00 2001 From: Prashant Patil Date: Thu, 17 Aug 2023 14:28:24 +0000 Subject: Ignore MAC tests MacTest class have long running test which timed out on some slow processing devices. Disable these tests until concrete performance requirements can be specified. Bug: 296367623 Bug: 288588810 Bug: 292870100 Bug: 291706328 Bug: 289893151 Bug: 293261385 Bug: 296152445 Test: atest CtsKeystoreWycheproofTestCases:com.google.security.wycheproof.MacTest (cherry picked from https://android-review.googlesource.com/q/commit:1924ded86d5a5d6c1cdc83f1facec9486086ee67) Merged-In: I88234a9cd72a6cecbe5f294a55d76579ef94a578 Change-Id: I88234a9cd72a6cecbe5f294a55d76579ef94a578 --- .../com/google/security/wycheproof/testcases/MacTest.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/keystore-cts/java/com/google/security/wycheproof/testcases/MacTest.java b/keystore-cts/java/com/google/security/wycheproof/testcases/MacTest.java index 7e84a4f..5e02de9 100644 --- a/keystore-cts/java/com/google/security/wycheproof/testcases/MacTest.java +++ b/keystore-cts/java/com/google/security/wycheproof/testcases/MacTest.java @@ -209,16 +209,25 @@ public class MacTest { } @Test + // Long-running MAC tests expose inefficiencies on some devices. Ignore the test until + // performance requirements can be defined. See http://b/296367623 + @Ignore public void testHmacSha1() throws Exception { testMac("HMACSHA1", 20); } @Test + // Long-running MAC tests expose inefficiencies on some devices. Ignore the test until + // performance requirements can be defined. See http://b/296367623 + @Ignore public void testHmacSha224() throws Exception { testMac("HMACSHA224", 28); } @Test + // Long-running MAC tests expose inefficiencies on some devices. Ignore the test until + // performance requirements can be defined. See http://b/296367623 + @Ignore public void testHmacSha256() throws Exception { testMac("HMACSHA256", 32); } @@ -231,11 +240,17 @@ public class MacTest { } @Test + // Long-running MAC tests expose inefficiencies on some devices. Ignore the test until + // performance requirements can be defined. See http://b/296367623 + @Ignore public void testHmacSha384() throws Exception { testMac("HMACSHA384", 48); } @Test + // Long-running MAC tests expose inefficiencies on some devices. Ignore the test until + // performance requirements can be defined. See http://b/296367623 + @Ignore public void testHmacSha512() throws Exception { testMac("HMACSHA512", 64); } -- cgit v1.2.3