aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrashant Patil <patilprashant@google.com>2023-08-17 14:28:24 +0000
committerCherrypicker Worker <android-build-cherrypicker-worker@google.com>2023-08-21 15:12:51 +0000
commit7b6d5ebea10628bc216843a142026b21f5df54f3 (patch)
treee3eda8a27c15d50826634228f7a53ca776e6d82c
parent27396c150f72bb17abcda02bdc6c5fd939a389a8 (diff)
downloadwycheproof-7b6d5ebea10628bc216843a142026b21f5df54f3.tar.gz
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
-rw-r--r--keystore-cts/java/com/google/security/wycheproof/testcases/MacTest.java15
1 files changed, 15 insertions, 0 deletions
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);
}