selftests/bpf: Reduce flakyness in timer_mim
authorYucong Sun <fallentree@fb.com>
Mon, 23 Aug 2021 21:36:29 +0000 (14:36 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 24 Aug 2021 01:01:47 +0000 (18:01 -0700)
commita6258837c8a81dcd9b0f1b061bd35302ad4d5914
tree80ae85a3f57ffefcd8d2d8488a14429319b426d5
parent4ed589a2789365991f0565383f7d449cfdfc857e
selftests/bpf: Reduce flakyness in timer_mim

This patch extends wait time in timer_mim. As observed in slow CI environment,
it is possible to have interrupt/preemption long enough to cause the test to
fail, almost 1 failure in 5 runs.

Signed-off-by: Yucong Sun <fallentree@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210823213629.3519641-1-fallentree@fb.com
tools/testing/selftests/bpf/prog_tests/timer_mim.c