./frysk-core/TestRunner -r 100 -console frysk=FINEST frysk.proc.TestAbandon.testStressAbandon produces the error: testStressAbandon(frysk.proc.TestAbandon)ptrace: No such process at frysk.sys.Errno.throwErrno(TestRunner) at frysk.sys.Ptrace$PtraceThread.notifyPtraceThread(TestRunner) at frysk.sys.Ptrace.detach(TestRunner) at frysk.proc.LinuxPtraceTask.sendDetach(TestRunner) at frysk.proc.LinuxPtraceTaskState$Attached$WaitForUnblock.handleDetach(TestRunner) at frysk.proc.Task.performDetach(TestRunner) at frysk.proc.LinuxPtraceProcState$Detaching.<init>(TestRunner) at frysk.proc.LinuxPtraceProcState$3.handleDetach(TestRunner) at frysk.proc.Proc$7.execute(TestRunner) at frysk.event.EventLoop.runEventLoop(TestRunner) at frysk.event.EventLoop.runPolling(TestRunner) at frysk.proc.TestLib.assertRunUntilStop(TestRunner) at frysk.proc.TestLib.assertRunUntilStop(TestRunner) at frysk.proc.TestAbandon.testStressAbandon(TestRunner) at frysk.junit.Runner.runCases(TestRunner) at frysk.junit.Runner.runArchCases(TestRunner) at frysk.junit.Runner.runTestCases(TestRunner) at TestRunner.main(TestRunner)
*** Bug 3822 has been marked as a duplicate of this bug. ***
*** Bug 3836 has been marked as a duplicate of this bug. ***
Created attachment 1476 [details] compressed Log output of testStressAbandon
Nurdin, How hard would it be to put the stress test in a StressAbandon file? That way it's only run when --stress is specified to TestRunner/junit. Andrew
(In reply to comment #4) > Nurdin, > How hard would it be to put the stress test in a StressAbandon file? That way > it's only run when --stress is specified to TestRunner/junit. > Andrew Done, new file StressTestAbandon contains stressTestAbandon.
Did you mean "StressAbandon.java" and testAbandon()? Otherwize the --stress flag won't make the test run.
Uh yeah, StressTestAbandon.java and testStressAbandon() is what I had submitted it as, it runs with TestRunner --stress