summaryrefslogtreecommitdiff
path: root/tests/kmod-traffic.at
diff options
context:
space:
mode:
authorAndy Zhou <azhou@nicira.com>2015-02-05 15:19:41 -0800
committerAndy Zhou <azhou@nicira.com>2015-02-06 15:28:07 -0800
commite2b553e49b040303d9cc61633e10470f0098672e (patch)
tree3c04d40649146f057f69cc32942b7a2abfaff4f3 /tests/kmod-traffic.at
parent526df7d8543f7f651059338e42f409f04bb9970b (diff)
downloadopenvswitch-e2b553e49b040303d9cc61633e10470f0098672e.tar.gz
test: remove namespace after ovs-vswitchd is stopped
Remove namespaces also removes the ports in them, thus may causing vswitch to generate warning log messages about not being able find the port before it exits. Remove namespaces after ovs-vswitchd exits improves test reliability. Signed-off-by: Andy Zhou <azhou@nicira.com> Signed-off-by: Joe Stringer <joestringer@nicira.com>
Diffstat (limited to 'tests/kmod-traffic.at')
-rw-r--r--tests/kmod-traffic.at3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/kmod-traffic.at b/tests/kmod-traffic.at
index 685e1af8a..34e50625d 100644
--- a/tests/kmod-traffic.at
+++ b/tests/kmod-traffic.at
@@ -11,6 +11,5 @@ ADD_VETH(p1, at_ns1, br0, "10.1.1.2/24")
AT_CHECK([ip netns exec at_ns0 bash -c "ping -q -c 3 -i 0.3 -w 2 10.1.1.2 >/dev/null"])
-DEL_NAMESPACES(at_ns0, at_ns1)
-OVS_KMOD_VSWITCHD_STOP
+OVS_KMOD_VSWITCHD_STOP([], DEL_NAMESPACES(at_ns0, at_ns1))
AT_CLEANUP