diff options
author | Ilya Maximets <i.maximets@ovn.org> | 2022-07-22 18:29:28 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-07-25 18:44:57 +0200 |
commit | b6403e9d0fca8cce91b5a07b477d013a795034ff (patch) | |
tree | 053fefeb774b7a55b5e73631848039a0827d9de9 | |
parent | 82910affef61f021f6e4e7887eb6b2a4144830d4 (diff) | |
download | openvswitch-b6403e9d0fca8cce91b5a07b477d013a795034ff.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.at | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system-traffic.at b/tests/system-traffic.at index 3303c7a26..9dd15ed7c 100644 --- a/tests/system-traffic.at +++ b/tests/system-traffic.at @@ -712,7 +712,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 |