summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorDanielle Ratson <danieller@nvidia.com>2024-04-12 20:03:10 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-04-16 13:14:41 +0300
commit8d612ed4b55435812fe1cfb73be1dff4a4b9ce07 (patch)
tree9535111f77a25a34d1010b30f0a43f550302c0e6 /tools/testing/selftests/net/lib/py/utils.py
parentbfc42940682b809e1f51491d8d9f82b7638fcbde (diff)
downloadlinux-8d612ed4b55435812fe1cfb73be1dff4a4b9ce07.tar.xz
selftests: mlxsw: ethtool_lanes: Wait for lanes parameter dump explicitly
The ethtool dump includes the lanes parameter only when the port is up. Therefore, the ethtool_lanes.sh test waits for ports to come before testing the lanes parameter. In some cases, the test considers the port as up, but the lanes parameter is not yet dumped although assumed to be, resulting in ethtool_lanes.sh test failure. To avoid that, ensure that the lanes parameter is indeed dumped by waiting for it explicitly, before preforming the test cases. Signed-off-by: Danielle Ratson <danieller@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions