diff options
| author | Yucong Sun <[email protected]> | 2021-08-16 17:52:50 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-08-17 02:13:20 +0000 |
| commit | 3c3bd542ffbb2ac09631313ede46ae66660ae550 (patch) | |
| tree | 03efbc1dcc711a5cc773d714992400082777a323 /net/unix/af_unix.c | |
| parent | Merge branch 'sockmap: add sockmap support for unix stream socket' (diff) | |
| download | kernel-3c3bd542ffbb2ac09631313ede46ae66660ae550.tar.gz kernel-3c3bd542ffbb2ac09631313ede46ae66660ae550.zip | |
selftests/bpf: Add exponential backoff to map_update_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]>
Acked-by: Song Liu <[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
