]> www.infradead.org Git - users/dwmw2/linux.git/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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 May 2024 10:42:17 +0000 (11:42 +0100)
commit06080ea23095afe04a2cb7a8d05fab4311782623
treeeaf8015d3c9c6f873f21424e35a2f5b3ef23dfae
parent8bd67ebb50c0145fd2ca8681ab65eb7e8cde1afc
selftests: net: bridge: increase IGMP/MLD exclude timeout membership interval

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>
tools/testing/selftests/net/forwarding/bridge_igmp.sh
tools/testing/selftests/net/forwarding/bridge_mld.sh