diff options
author | Yucong Sun <sunyucong@gmail.com> | 2021-10-06 11:56:19 -0700 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-10-08 15:17:00 -0700 |
commit | d3f7b1664d3ebd69751327f45f5cd4adfb29f620 (patch) | |
tree | e78324d50d01bff5acb6d2556b72f88e1ff7530f /tools/testing/selftests/bpf/prog_tests/ns_current_pid_tgid.c | |
parent | selftests/bpf: Fix pid check in fexit_sleep test (diff) | |
download | linux-dev-d3f7b1664d3ebd69751327f45f5cd4adfb29f620.tar.xz linux-dev-d3f7b1664d3ebd69751327f45f5cd4adfb29f620.zip |
selfetest/bpf: Make some tests serial
Change tests that often fails in parallel execution mode to serial.
Signed-off-by: Yucong Sun <sunyucong@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211006185619.364369-15-fallentree@fb.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/ns_current_pid_tgid.c')
-rw-r--r-- | tools/testing/selftests/bpf/prog_tests/ns_current_pid_tgid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/prog_tests/ns_current_pid_tgid.c b/tools/testing/selftests/bpf/prog_tests/ns_current_pid_tgid.c index 2535788e135f..24d493482ffc 100644 --- a/tools/testing/selftests/bpf/prog_tests/ns_current_pid_tgid.c +++ b/tools/testing/selftests/bpf/prog_tests/ns_current_pid_tgid.c @@ -78,7 +78,8 @@ static void test_ns_current_pid_tgid_new_ns(void) return; } -void test_ns_current_pid_tgid(void) +/* TODO: use a different tracepoint */ +void serial_test_ns_current_pid_tgid(void) { if (test__start_subtest("ns_current_pid_tgid_root_ns")) test_current_pid_tgid(NULL); |