linux/tools/testing/selftests/net/lib/py
Jakub Kicinski f09fc24dd9 selftests: drv-net: wait for carrier
On fast machines the tests run in quick succession so even
when tests clean up after themselves the carrier may need
some time to come back.

Specifically in NIPA when ping.py runs right after netpoll_basic.py
the first ping command fails.

Since the context manager callbacks are now common NetDrvEpEnv
gets an ip link up call as well.

Reviewed-by: Joe Damato <joe@dama.to>
Link: https://patch.msgid.link/20250812142054.750282-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
History 2025-08-14 17:44:46 -07:00
..
__init__.py selftests: drv-net: Add test for devlink-rate traffic class bandwidth distribution 2025-07-02 15:39:06 -07:00
consts.py selftests: net: add scaffolding for Netlink tests in Python 2024-04-08 11:40:41 +01:00
ksft.py selftests: net: prevent Python from buffering the output 2025-07-17 16:27:38 -07:00
netns.py selftests: net: Add python context manager for netns entering 2025-02-21 15:28:03 -08:00
nsim.py selftests: drivers: net: fix name not defined 2024-10-11 16:01:00 -07:00
utils.py selftests: drv-net: wait for carrier 2025-08-14 17:44:46 -07:00
ynl.py selftests: drv-net: Add test for devlink-rate traffic class bandwidth distribution 2025-07-02 15:39:06 -07:00