diff options
| author | Yucong Sun <[email protected]> | 2021-08-17 04:57:13 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-08-17 15:17:40 +0000 |
| 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 | kernel-857f75ea845706a0ec65ce2239da519214a4451a.tar.gz kernel-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 <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
