pub async fn apply_nud_flake_workaround(control: &Control) -> Result
Expand description

Works around CQ timing flakes due to NUD failures.

Many tests can have flakes reduced by applying this workaround. Typically tests that have more than 1 netstack and use pings or sockets between stacks can observe spurious NUD failures due to infra timing woes. That can be worked around by setting the number of NUD probes to a very high value. Any test that is not directly verifying neighbor behavior can use this workaround to get rid of flakes.