selftests/bpf: Make netcnt selftests serial to avoid spurious failures
authorAndrii Nakryiko <andrii@kernel.org>
Wed, 3 Nov 2021 05:41:13 +0000 (22:41 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 3 Nov 2021 14:43:09 +0000 (15:43 +0100)
commit401a33da3a45cc05859b121314f8ab52c2c01977
treeb0b6382ec90095d9e56113e534bb509c1ef520ec
parent7e5ad817ec297f91a2fa5c423a39a458a4701bca
selftests/bpf: Make netcnt selftests serial to avoid spurious failures

When running `./test_progs -j` test_netcnt fails with a very high
probability, undercounting number of packets received (9999 vs expected
10000). It seems to be conflicting with other cgroup/skb selftests. So
make it serial for now to make parallel mode more robust.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20211103054113.2130582-1-andrii@kernel.org
tools/testing/selftests/bpf/prog_tests/netcnt.c