Yucong Sun 857f75ea84 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
2021-08-17 08:17:40 -07:00
..
2021-05-10 10:41:11 -04:00
2020-12-07 14:34:55 -07:00
2021-03-08 11:59:16 +01:00
2021-08-04 09:43:03 -04:00
2021-06-24 15:32:08 +02:00
2021-06-28 19:49:37 -07:00
2021-08-04 09:55:52 +01:00