Skip to content

Commit 5727e04

Browse files
fix: prevent nextest from running valgrind and memcheck concurrently
1 parent 6dd7911 commit 5727e04

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.config/nextest.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Valgrind and memtrack tests must never run concurrently, even across multiple processes, else valgrind crashes.
2+
# We have a semaphore setup in the test code, but it's not sufficient since nextest runs tests in multiple processes.
3+
[test-groups]
4+
bpf-instrumentation = { max-threads = 1 }
5+
6+
[[profile.default.overrides]]
7+
filter = 'test(~executor::tests::valgrind) | test(~executor::tests::memory)'
8+
test-group = 'bpf-instrumentation'

0 commit comments

Comments
 (0)