[DTrace-devel] [PATCH] test: increase child process runtime
Kris Van Hees
kris.van.hees at oracle.com
Wed Mar 6 20:40:32 UTC 2024
Due to recent kernel changes causing a slowdown in BPF program loading, this
test can encounter a situation where the 'sleep 500s' is not long enough to
ensure that the child processes are still running by the time dtrace is
trying to enable probes. That results in some probe(s) not being found.
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
---
test/unittest/pid/tst.manypids.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/unittest/pid/tst.manypids.sh b/test/unittest/pid/tst.manypids.sh
index 1a98d621..6ffe302c 100755
--- a/test/unittest/pid/tst.manypids.sh
+++ b/test/unittest/pid/tst.manypids.sh
@@ -27,7 +27,7 @@ let i=0
tmpfile=$tmpdir/dtest.$$
while [ "$i" -lt "$numkids" ]; do
- sleep 500 &
+ sleep 5000 &
pids[$i]=$!
disown %+
let i=i+1
--
2.42.0
More information about the DTrace-devel
mailing list