We’re Being Naughty…

I just ran the DrJava unit tests with Concutest-JUnit. There were a few failures that I don’t quite understand — they seem to have to do with RMI — but in general, things look good. But we are being naughty… “The test did not perform a join on all spawned threads.”

   [junit] Testsuite: edu.rice.cs.drjava.ui.InteractionsPaneTest
   [junit] Tests run: 14, Failures: 0, Errors: 2, Time elapsed: 7.047 sec

   [junit] ------------- Standard Error -----------------
   [junit] Thread Testing System.in
(edu.rice.cs.drjava.ui.InteractionsPaneTest$16) is still alive:
state=RUNNABLE
   [junit] Thread Timer-0 (java.util.TimerThread) is still alive: state=WAITING
   [junit]     java.lang.Object.wait(Native Method)
   [junit]     java.lang.Object.wait(Object.java:474)
   [junit]     java.util.TimerThread.mainLoop(Timer.java:483)
   [junit]     java.util.TimerThread.run(Timer.java:462)
   [junit] Thread Wait for Interactions to Exit Thread
(edu.rice.cs.util.newjvm.AbstractMasterJVM$1) is still alive:
state=RUNNABLE
   [junit]     java.lang.ProcessImpl.waitFor(Native Method)
   [junit]
edu.rice.cs.util.newjvm.AbstractMasterJVM$1.run(AbstractMasterJVM.java:197)
   [junit] ------------- ---------------- ---------------
   [junit] Testcase:
testSystemIn(edu.rice.cs.drjava.ui.InteractionsPaneTest): Caused an
ERROR
   [junit] The test did not perform a join on all spawned threads.
   [junit] junit.framework.TestCase$MultithreadedTestError: The test
did not perform a join on all spawned threads.


   [junit] Testcase:
testPromptListClearedOnReset(edu.rice.cs.drjava.ui.InteractionsPaneTest):
 Caused an ERROR
   [junit] The test did not perform a join on all spawned threads.
   [junit] junit.framework.TestCase$MultithreadedTestError: The test
did not perform a join on all spawned threads."

And many more of those…

Share

About Mathias

Software development engineer. Principal developer of DrJava. Recent Ph.D. graduate from the Department of Computer Science at Rice University.
This entry was posted in Concurrent Unit Testing, DrJava. Bookmark the permalink.

Leave a Reply