tests: ovs_dpdk: Cleanup ovs-dpdk after terminating VMs

Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
Bo Chen 2022-08-31 11:33:06 -07:00 committed by Sebastien Boeuf
parent 6cf4ea74fc
commit 3c6014554b

View File

@ -6433,14 +6433,14 @@ mod common_parallel {
guest2.ssh_command("nc -vz 172.100.0.1 12345").unwrap(); guest2.ssh_command("nc -vz 172.100.0.1 12345").unwrap();
}); });
cleanup_ovs_dpdk();
let _ = child1.kill(); let _ = child1.kill();
let _ = child2.kill(); let _ = child2.kill();
let output = child1.wait_with_output().unwrap(); let output = child1.wait_with_output().unwrap();
child2.wait().unwrap(); child2.wait().unwrap();
cleanup_ovs_dpdk();
handle_child_output(r, &output); handle_child_output(r, &output);
} }