mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: Fix test_vfio test
Test was failing due to regression caused by commit
d5558aea2a
Failing command:
sudo /mnt/ch-remote --api-socket /tmp/ch_api.sock resize --memory=1073741824"
Fixes #5190
Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com>
This commit is contained in:
committed by
Rob Bradford
parent
fba0b5f93c
commit
4079e4f1ad
@@ -4295,7 +4295,7 @@ mod common_parallel {
|
|||||||
.ssh_command_l1(
|
.ssh_command_l1(
|
||||||
"sudo /mnt/ch-remote \
|
"sudo /mnt/ch-remote \
|
||||||
--api-socket /tmp/ch_api.sock \
|
--api-socket /tmp/ch_api.sock \
|
||||||
resize --memory=1073741824",
|
resize --memory 1073741824",
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
assert!(guest.get_total_memory_l2().unwrap_or_default() > 960_000);
|
assert!(guest.get_total_memory_l2().unwrap_or_default() > 960_000);
|
||||||
@@ -8286,7 +8286,7 @@ mod vfio {
|
|||||||
.ssh_command_l1(
|
.ssh_command_l1(
|
||||||
"sudo /mnt/ch-remote \
|
"sudo /mnt/ch-remote \
|
||||||
--api-socket /tmp/ch_api.sock \
|
--api-socket /tmp/ch_api.sock \
|
||||||
resize --memory=1073741824",
|
resize --memory 1073741824",
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
assert!(guest.get_total_memory_l2().unwrap_or_default() > 960_000);
|
assert!(guest.get_total_memory_l2().unwrap_or_default() > 960_000);
|
||||||
|
|||||||
Reference in New Issue
Block a user