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 <[email protected]>
---
tests/system-traffic.at | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/system-traffic.at b/tests/system-traffic.at
index 29e162ec1..5a342b9ca 100644
--- a/tests/system-traffic.at
+++ b/tests/system-traffic.at
@@ -758,7 +758,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
--
2.34.3
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev