Skip to content

Commit c91476a

Browse files
kalyazinroypat
authored andcommitted
test(secret_free): remove file restore test
It is not supported by Secret Freedom. Signed-off-by: Nikita Kalyazin <[email protected]>
1 parent 3850279 commit c91476a

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

tests/integration_tests/functional/test_secret_freedom.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,3 @@ def test_secret_free_initrd(microvm_factory, guest_kernel):
5656
serial.rx(token="# ")
5757
serial.tx("mount |grep rootfs")
5858
serial.rx(token=f"rootfs on / type {INITRD_FILESYSTEM}")
59-
60-
61-
def test_secret_free_snapshot_creation(microvm_factory, guest_kernel, rootfs):
62-
"""Test that snapshot creation works for secret hidden VMs"""
63-
vm = microvm_factory.build(guest_kernel, rootfs)
64-
vm.spawn()
65-
vm.memory_monitor = None
66-
vm.basic_config(secret_free=True)
67-
vm.add_net_iface()
68-
vm.start()
69-
70-
snapshot = vm.snapshot_full()
71-
72-
# After restoration, the VM will not be secret hidden anymore, as that's not supported yet.
73-
# But we can at least test that in principle, the snapshot creation worked.
74-
vm = microvm_factory.build_from_snapshot(snapshot)
75-
vm.ssh.check_output("true")

0 commit comments

Comments
 (0)