From 76bde33fc4d694b1cd5220b25b9c74b9b248529a Mon Sep 17 00:00:00 2001 From: Bo Chen Date: Mon, 15 Aug 2022 15:36:35 -0700 Subject: [PATCH] tests: live-migration: Cleanup ovs-dpdk after terminating VMs Signed-off-by: Bo Chen --- tests/integration.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration.rs b/tests/integration.rs index 3e895f13b..86876d25e 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -8961,8 +8961,6 @@ mod live_migration { migration_guest .ssh_command("nc -vz 172.100.0.1 12345") .unwrap(); - - cleanup_ovs_dpdk(); }); // Clean-up the destination VM and OVS VM, and make sure they terminated correctly @@ -8972,6 +8970,8 @@ mod live_migration { handle_child_output(r, &dest_output); let ovs_output = ovs_child.wait_with_output().unwrap(); handle_child_output(Ok(()), &ovs_output); + + cleanup_ovs_dpdk(); } #[test]