Skip to content

Commit 5598322

Browse files
ShadowCurseroypat
authored andcommitted
feat(tests): test snapshot cycle restore with cpu templates
Add template parameter to the snapshot cycle test to increase the test coverage. Signed-off-by: Egor Lazarchuk <[email protected]>
1 parent 4385509 commit 5598322

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/integration_tests/functional/test_snapshot_basic.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ def test_5_snapshots(
121121
rootfs,
122122
snapshot_type,
123123
use_snapshot_editor,
124+
cpu_template_any,
124125
):
125126
"""
126127
Create and load 5 snapshots.
@@ -136,6 +137,7 @@ def test_5_snapshots(
136137
mem_size_mib=512,
137138
track_dirty_pages=diff_snapshots,
138139
)
140+
vm.set_cpu_template(cpu_template_any)
139141
vm.add_net_iface()
140142
vm.api.vsock.put(vsock_id="vsock0", guest_cid=3, uds_path=VSOCK_UDS_PATH)
141143
vm.start()

0 commit comments

Comments
 (0)