selftests/bpf: Adding delay in socketmap_listen to reduce flakyness
authorYucong Sun <fallentree@fb.com>
Thu, 19 Aug 2021 16:36:09 +0000 (09:36 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 19 Aug 2021 19:28:20 +0000 (12:28 -0700)
commit3666b167ea68997b73dd5b78678a1c3f0d6730bb
tree9aed7c3bca4a7bbb1bb356c5621838bf53e6d8b1
parent594286b7574c6e8217b1c233cc0d0650f2268a77
selftests/bpf: Adding delay in socketmap_listen to reduce flakyness

This patch adds a 1ms delay to reduce flakyness of the test.

Signed-off-by: Yucong Sun <fallentree@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210819163609.2583758-1-fallentree@fb.com
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c