CI Tests: make Regression/second-command-not-captured less flaky
Make Regression/second-command-not-captured less flaky by restricting the output flow, preventing the transport buffers flood (PR29108).
This commit is contained in:
parent
8d5d041590
commit
ca4fdbacfc
@ -1,7 +1,9 @@
|
|||||||
probe ruby.method.entry, ruby.cmethod.entry {
|
probe ruby.method.entry, ruby.cmethod.entry {
|
||||||
printf("%d -> %s::%s %s:%d\n", tid(), classname, methodname, file, line);
|
if((classname =~ "Array") && (methodname =~ "push"))
|
||||||
|
printf("%d -> %s::%s %s:%d\n", tid(), classname, methodname, file, line);
|
||||||
}
|
}
|
||||||
|
|
||||||
probe ruby.method.return, ruby.cmethod.return {
|
probe ruby.method.return, ruby.cmethod.return {
|
||||||
printf("%d <- %s::%s %s:%d\n", tid(), classname, methodname, file, line);
|
if((classname =~ "Array") && (methodname =~ "push"))
|
||||||
|
printf("%d <- %s::%s %s:%d\n", tid(), classname, methodname, file, line);
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@ rlJournalStart
|
|||||||
rlPhaseStartTest
|
rlPhaseStartTest
|
||||||
rlLog "`which stap`"
|
rlLog "`which stap`"
|
||||||
rlLog "`stap -V`"
|
rlLog "`stap -V`"
|
||||||
rlRun "stap -s 100 -v ./ruby-exercise.stp -c ./test.sh -o stap.log"
|
rlRun "stap -v ./ruby-exercise.stp -c ./test.sh -o stap.log"
|
||||||
rlRun "grep 'Array::push' stap.log" ||
|
rlRun "grep 'Array::push' stap.log" ||
|
||||||
rlFileSubmit "stap.log"
|
rlFileSubmit "stap.log"
|
||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
|
Loading…
Reference in New Issue
Block a user