diff options
author | 2021-08-16 21:57:13 -0700 | |
---|---|---|
committer | 2021-08-17 08:17:40 -0700 | |
commit | 857f75ea845706a0ec65ce2239da519214a4451a (patch) | |
tree | f4804f3ab8c1872f8ac67950fd4e49b5332e5fbb /net/unix/af_unix.c | |
parent | selftests/bpf: Add exponential backoff to map_update_retriable in test_maps (diff) | |
download | wireguard-linux-857f75ea845706a0ec65ce2239da519214a4451a.tar.xz wireguard-linux-857f75ea845706a0ec65ce2239da519214a4451a.zip |
selftests/bpf: Add exponential backoff to map_delete_retriable in test_maps
Using a fixed delay of 1 microsecond has proven flaky in slow CPU environment,
e.g. Github Actions CI system. This patch adds exponential backoff with a cap
of 50ms to reduce the flakiness of the test. Initial delay is chosen at random
in the range [0ms, 5ms).
Signed-off-by: Yucong Sun <fallentree@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210817045713.3307985-1-fallentree@fb.com
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions