From 7c917c0e74c302539b504896c68b984f2f154e7a Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Thu, 3 Jun 2021 23:41:38 +0200 Subject: [PATCH] tests: Re-enable test_ovs_dpdk Re-enable the OVS DPDK integration test by assigning both VMs to the NUMA node 0. This ensures the processes are being run on NUMA node 0, preventing OVS DPDK from abnormal functioning. Signed-off-by: Sebastien Boeuf --- tests/integration.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/integration.rs b/tests/integration.rs index 3d4dc67c4..e2492ce95 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -5205,7 +5205,6 @@ mod tests { } #[test] - #[ignore] fn test_ovs_dpdk() { // Create OVS-DPDK bridge and ports std::process::Command::new("bash") @@ -5242,7 +5241,8 @@ mod tests { let guest1 = Guest::new(Box::new(focal1)); let mut child1 = GuestCommand::new(&guest1) .args(&["--cpus", "boot=2"]) - .args(&["--memory", "size=1G,shared=on"]) + .args(&["--memory", "size=0,shared=on"]) + .args(&["--memory-zone", "id=mem0,size=1G,shared=on,host_numa_node=0"]) .args(&["--kernel", direct_kernel_boot_path().to_str().unwrap()]) .args(&["--cmdline", DIRECT_KERNEL_BOOT_CMDLINE]) .default_disks() @@ -5291,7 +5291,8 @@ mod tests { let guest2 = Guest::new(Box::new(focal2)); let mut child2 = GuestCommand::new(&guest2) .args(&["--cpus", "boot=2"]) - .args(&["--memory", "size=1G,shared=on"]) + .args(&["--memory", "size=0,shared=on"]) + .args(&["--memory-zone", "id=mem0,size=1G,shared=on,host_numa_node=0"]) .args(&["--kernel", direct_kernel_boot_path().to_str().unwrap()]) .args(&["--cmdline", DIRECT_KERNEL_BOOT_CMDLINE]) .default_disks()