]> git.hungrycats.org Git - linux/commit
selftests: net: bridge: increase IGMP/MLD exclude timeout membership interval
authorNikolay Aleksandrov <razor@blackwall.org>
Mon, 13 May 2024 10:52:57 +0000 (13:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2024 07:49:50 +0000 (09:49 +0200)
commit59476596a6d93bbdd51c429c2d98b92002f9fa31
tree4b8d9ad9eadc8c89206da1bab97aac0acefc3a30
parentf482fd4ce919836a49012b2d31b00fc36e2488f2
selftests: net: bridge: increase IGMP/MLD exclude timeout membership interval

[ Upstream commit 06080ea23095afe04a2cb7a8d05fab4311782623 ]

When running the bridge IGMP/MLD selftests on debug kernels we can get
spurious errors when setting up the IGMP/MLD exclude timeout tests
because the membership interval is just 3 seconds and the setup has 2
seconds of sleep plus various validations, the one second that is left
is not enough. Increase the membership interval from 3 to 5 seconds to
make room for the setup validation and 2 seconds of sleep.

Fixes: 34d7ecb3d4f7 ("selftests: net: bridge: update IGMP/MLD membership interval value")
Reported-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/net/forwarding/bridge_igmp.sh
tools/testing/selftests/net/forwarding/bridge_mld.sh