]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/net: give more time to udpgro bg processes to complete startup
authorAdrien Thierry <athierry@redhat.com>
Tue, 1 Nov 2022 18:48:08 +0000 (14:48 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Nov 2022 10:10:59 +0000 (10:10 +0000)
commit1c9c8f512e1e673a9b5b6d3f2850a194dc98a93e
tree996ffa43d967510a8fcb04609e7084e0cf952b67
parent48b04b783cb1e3ba4632015c19822f23495c2b4d
selftests/net: give more time to udpgro bg processes to complete startup

In some conditions, background processes in udpgro don't have enough
time to set up the sockets. When foreground processes start, this
results in the test failing with "./udpgso_bench_tx: sendmsg: Connection
refused". For instance, this happens from time to time on a Qualcomm
SA8540P SoC running CentOS Stream 9.

To fix this, increase the time given to background processes to
complete the startup before foreground processes start.

Signed-off-by: Adrien Thierry <athierry@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/udpgro.sh
tools/testing/selftests/net/udpgro_bench.sh
tools/testing/selftests/net/udpgro_frglist.sh