summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@ovn.org>2022-07-22 18:29:28 +0200
committerIlya Maximets <i.maximets@ovn.org>2022-07-25 18:44:55 +0200
commiteb3484a3989545613d15962286e9e3b3900e4498 (patch)
treeca4b80ec625b1c73f36bd49c94d050b4fcb0659f
parent0f639878cbe2dbe516a8827fe34643c3803975d1 (diff)
downloadopenvswitch-eb3484a3989545613d15962286e9e3b3900e4498.tar.gz
system-traffic: Properly stop dangling ping after geneve test.
Ping process remains in the system after the test. Using a proper macro that will correctly register it for stopping at cleanup stage. Fixes: 134e6831acca ("system-traffic: Check frozen state handling with TLV map change") Signed-off-by: Ilya Maximets <i.maximets@ovn.org> Reviewed-by: David Marchand <david.marchand@redhat.com>
-rw-r--r--tests/system-traffic.at2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system-traffic.at b/tests/system-traffic.at
index 70f60db41..61064ad05 100644
--- a/tests/system-traffic.at
+++ b/tests/system-traffic.at
@@ -724,7 +724,7 @@ NS_CHECK_EXEC([at_ns0], [ping -q -c 3 10.1.1.100 | FORMAT_PING], [0], [dnl
])
dnl Test OVS handles TLV map modifictions properly when restores frozen state.
-NS_CHECK_EXEC([at_ns0], [ping 10.1.1.100 > /dev/null &])
+NETNS_DAEMONIZE([at_ns0], [ping 10.1.1.100 > /dev/null], [ping0.pid])
AT_CHECK([ovs-ofctl add-tlv-map br0 "{class=0xffff,type=0x88,len=4}->tun_metadata1"])
sleep 1