selftests/bpf: Mark tc_redirect selftest as serial
authorAndrii Nakryiko <andrii@kernel.org>
Fri, 22 Oct 2021 22:32:27 +0000 (15:32 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 25 Oct 2021 21:45:46 +0000 (14:45 -0700)
It seems to cause a lot of harm to kprobe/tracepoint selftests. Yucong
mentioned before that it does manipulate sysfs, which might be the
reason. So let's mark it as serial, though ideally it would be less
intrusive on the system at test.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211022223228.99920-4-andrii@kernel.org
tools/testing/selftests/bpf/prog_tests/tc_redirect.c

index e87bc4466d9acd709335e9a917c701b502c06bc9..53672634bc52418801906dd7d6aa60446027a77b 100644 (file)
@@ -769,7 +769,7 @@ static void *test_tc_redirect_run_tests(void *arg)
        return NULL;
 }
 
-void test_tc_redirect(void)
+void serial_test_tc_redirect(void)
 {
        pthread_t test_thread;
        int err;