tests: live-migration: Cleanup ovs-dpdk after terminating VMs

Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
Bo Chen 2022-08-15 15:36:35 -07:00 committed by Rob Bradford
parent 9591e225e6
commit 76bde33fc4

View File

@ -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]