diff options
author | Yucong Sun <fallentree@fb.com> | 2021-08-17 07:57:13 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-08-17 18:17:40 +0300 |
commit | 857f75ea845706a0ec65ce2239da519214a4451a (patch) | |
tree | f4804f3ab8c1872f8ac67950fd4e49b5332e5fbb /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3c3bd542ffbb2ac09631313ede46ae66660ae550 (diff) | |
download | linux-857f75ea845706a0ec65ce2239da519214a4451a.tar.xz |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions