commit | 1077fd6e3701e49465afe96dada950e6859cd1c0 | [log] [tgz] |
---|---|---|
author | Alice Wang <aliceywang@google.com> | Tue Nov 12 10:51:23 2024 +0000 |
committer | Alice Wang <aliceywang@google.com> | Mon Dec 16 10:31:43 2024 +0000 |
tree | 410a2b03996587f04bd454f433e8e0ce495562c4 | |
parent | 1b5820a719815ffd943783e1f2b46883bb5a87fc [diff] |
Run AvfRkpdVmAttestationTestApp for vendor API >= 202504 As VM attestation is becoming a must feature since VSR 202504. Bug: 365692904 Test: atest AvfRkpdVmAttestationTestApp Change-Id: I6dad68d7431cfb3f01aa8d1dd4188c560f127a5d
diff --git a/tests/vm_attestation/src/java/com/android/virt/rkpd/vm_attestation/testapp/RkpdVmAttestationTest.java b/tests/vm_attestation/src/java/com/android/virt/rkpd/vm_attestation/testapp/RkpdVmAttestationTest.java index 1762b6d..02d9c49 100644 --- a/tests/vm_attestation/src/java/com/android/virt/rkpd/vm_attestation/testapp/RkpdVmAttestationTest.java +++ b/tests/vm_attestation/src/java/com/android/virt/rkpd/vm_attestation/testapp/RkpdVmAttestationTest.java
@@ -85,9 +85,7 @@ assume().withMessage("RKP Integration tests rely on network availability.") .that(isNetworkConnected(getContext())) .isTrue(); - assume().withMessage("Test needs Remote Attestation support") - .that(getVirtualMachineManager().isRemoteAttestationSupported()) - .isTrue(); + ensureVmAttestationSupported(); if (mOs == "microdroid") { // We don't need this permission to use the microdroid kernel.