Skip to content

Commit 88c2d41

Browse files
committed
fixup tests
1 parent 398cabd commit 88c2d41

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integration_tests/performance/test_snapshot_ab.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ def test_restore_latency(
104104
guest_kernel_linux_5_10,
105105
test_setup,
106106
metrics,
107-
secret_free,
108107
):
109108
"""
110109
Restores snapshots with vcpu/memory configuration, roughly scaling according to mem = (vcpus - 1) * 2048MB,
@@ -182,6 +181,9 @@ def test_post_restore_latency(
182181
"huge pages with secret hiding kernels on ARM are currently failing"
183182
)
184183

184+
if secret_free and uffd_handler is None:
185+
pytest.skip("Restoring from a file is not compatible with Secret Freedom")
186+
185187
test_setup = SnapshotRestoreTest(mem=1024, vcpus=2, huge_pages=huge_pages)
186188
vm = test_setup.boot_vm(
187189
microvm_factory, guest_kernel_linux_5_10, rootfs, secret_free

0 commit comments

Comments
 (0)