Skip to content

Commit d43e43d

Browse files
committed
test_snapshot_ab: start VM inside configure_vm
No need to defer the starting. Signed-off-by: Patrick Roy <[email protected]>
1 parent ff34c30 commit d43e43d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration_tests/performance/test_snapshot_ab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def configure_vm(self, microvm_factory, guest_kernel, rootfs, metrics) -> Microv
7979
**vm.dimensions,
8080
}
8181
)
82+
vm.start()
8283

8384
return vm
8485

@@ -131,7 +132,6 @@ def test_restore_latency(
131132
vm = test_setup.configure_vm(
132133
microvm_factory, guest_kernel_linux_5_10, rootfs, metrics
133134
)
134-
vm.start()
135135

136136
snapshot = vm.snapshot_full()
137137
vm.kill()

0 commit comments

Comments
 (0)