diff options
author | Petr Machata <[email protected]> | 2020-05-29 14:16:53 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-05-30 21:48:24 -0700 |
commit | 1c0522b4a2e143fa6e55e4bd2308415c81184ec7 (patch) | |
tree | da836ddbabaf2c89ef59f18fc8455dec3bca1643 /lib/mpi/mpi-sub-ui.c | |
parent | 193025e861fd24e0141760571beb7efd322d9fd8 (diff) |
selftests: forwarding: mirror_lib: Use mausezahn
Using ping in tests is error-prone, because ping is too smart. On a
flaky system (notably in a simulator), when packets don't come quickly
enough, more pings are sent, and that throws off counters. Instead use
mausezahn to generate ICMP echo request packets. That allows us to
send them in quicker succession as well, because the reason the ping
was made slow in the first place was to make the tests work on
simulated systems.
Signed-off-by: Petr Machata <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions