]> git.dujemihanovic.xyz Git - linux.git/commit
selftests: netfilter: conntrack_tcp_unreplied.sh: wait for initial connection attempt
authorFlorian Westphal <fw@strlen.de>
Mon, 6 May 2024 11:43:16 +0000 (13:43 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 7 May 2024 23:33:53 +0000 (16:33 -0700)
commit76508154d7da82c139416eee6d318fde4feae143
tree383ead6e5315b392385c9bb8d4e5bc04d93cf523
parent1eb2cded45b35816085c1f962933c187d970f9dc
selftests: netfilter: conntrack_tcp_unreplied.sh: wait for initial connection attempt

Netdev CI reports occasional failures with this test
("ERROR: ns2-dX6bUE did not pick up tcp connection from peer").

Add explicit busywait call until the initial connection attempt shows
up in conntrack rather than a one-shot 'must exist' check.

Signed-off-by: Florian Westphal <fw@strlen.de>
Link: https://lore.kernel.org/r/20240506114320.12178-1-fw@strlen.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/netfilter/conntrack_tcp_unreplied.sh