diff --git a/cloud-hypervisor/tests/integration.rs b/cloud-hypervisor/tests/integration.rs index acbbdbb27..b5c8f0477 100644 --- a/cloud-hypervisor/tests/integration.rs +++ b/cloud-hypervisor/tests/integration.rs @@ -2724,8 +2724,7 @@ mod common_parallel { #[test] fn test_virtio_vsock() { - let disk_config = UbuntuDiskConfig::new(JAMMY_IMAGE_NAME.to_string()); - let guest = GuestFactory::new_regular_guest_factory().create_guest(Box::new(disk_config)); + let guest = basic_regular_guest!(JAMMY_IMAGE_NAME); _test_virtio_vsock(&guest, false); }