mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 11:22:26 +00:00
tests: live-migration: Cleanup ovs-dpdk after terminating VMs
Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
parent
9591e225e6
commit
76bde33fc4
@ -8961,8 +8961,6 @@ mod live_migration {
|
|||||||
migration_guest
|
migration_guest
|
||||||
.ssh_command("nc -vz 172.100.0.1 12345")
|
.ssh_command("nc -vz 172.100.0.1 12345")
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
cleanup_ovs_dpdk();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// Clean-up the destination VM and OVS VM, and make sure they terminated correctly
|
// 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);
|
handle_child_output(r, &dest_output);
|
||||||
let ovs_output = ovs_child.wait_with_output().unwrap();
|
let ovs_output = ovs_child.wait_with_output().unwrap();
|
||||||
handle_child_output(Ok(()), &ovs_output);
|
handle_child_output(Ok(()), &ovs_output);
|
||||||
|
|
||||||
|
cleanup_ovs_dpdk();
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user