Skip to content

Commit 0070ad3

Browse files
issue: 4664028 Adding fair-sched to vg test
Valgrind is single threaded app and does not handle well spin locks. Adding fair-sched=yes allows Sockperf main thread and VMA internal thread to operate without being blocked by Valgrind. Signed-off-by: Alexander Grissik <[email protected]>
1 parent 5b9c194 commit 0070ad3

File tree

1 file changed

+1
-1
lines changed
  • contrib/jenkins_tests

1 file changed

+1
-1
lines changed

contrib/jenkins_tests/vg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ for test_link in $test_ip_list; do
6868
test_name=${test_in}-${test_n}
6969

7070
vg_args="-v \
71-
--memcheck:leak-check=full --track-origins=yes --read-var-info=yes \
71+
--memcheck:leak-check=full --track-origins=yes --fair-sched=yes --read-var-info=yes \
7272
--errors-for-leak-kinds=definite --show-leak-kinds=definite,possible \
7373
--undef-value-errors=yes --track-fds=yes --num-callers=32 \
7474
--fullpath-after=${WORKSPACE} --gen-suppressions=all \

0 commit comments

Comments
 (0)