]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Update ping limits
authorPetr Machata <petrm@mellanox.com>
Thu, 31 Jan 2019 22:35:14 +0000 (22:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2019 23:26:36 +0000 (15:26 -0800)
commit1bd655d76b7ea208935f89afad9915608b58c402
tree0ef5cbb84d5941f2887f45ee5db62aecead18add
parent716804136a25d8b6b17bd32dd015843cfa8a7bfb
selftests: mlxsw: Update ping limits

The current ping intervals are too short for running mirroring tests in
simulator. This leads to ping sending a follow-up ping before the reply
arrives, thus sending more than the requested 10 ICMP requests. This
traffic is seen at the counters, and causes spurious failures.

Bump interval and timeout numbers 5x in mirroring tests to address the
spurious failures.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/qos_dscp_bridge.sh
tools/testing/selftests/drivers/net/mlxsw/qos_dscp_router.sh