This test timeout on a quiet system because there is nobody triggers read probefunc while test execution.
Add a delay-executed cat command to generate some noise
Differential D11673
Fix test timeout: common.dtraceUtil.t_dtrace_contrib.tst_DestructWithFunction_d_ksh lwhsu on Jul 20 2017, 6:08 PM. Authored by Tags None Referenced Files
Subscribers
Details This test timeout on a quiet system because there is nobody triggers read probefunc while test execution. Add a delay-executed cat command to generate some noise cd /usr/tests/cddl/usr.sbin/dtrace/common/dtraceUtil && kyua debug t_dtrace_contrib:tst.DestructWithFunction.d.ksh
Diff Detail
Event TimelineComment Actions It might be a good idea to increase the sleep time in the backgrounded process to avoid clock skew, but this should work. Thanks!! Comment Actions In the long run I would modify dtest (test suite driver) to enable execute some post-actions. Comment Actions Another thought is converting this test case to tst.DestructWithFunction.d and tst.DestructWithFunction.d.exe, to prevent race condition. Comment Actions Or just kill the shell process from within the script. There are many dtrace tests that do this.
|