HI,
I have been unit testing jrunit itself and using my jrunit builds to unit test jboss-remoting. I am talking of the Linux case specifically.
Due to
http://wiki.jboss.org/wiki/Wiki.jsp?page=IPv6
TestDriver must be patched on Linux to include -Djava.net.preferIPv4Stack=true in the exec string.
On a specific machine, while testing jboss-remoting, I also found it necessary to adjust (increase) the timeouts. After that I ran into many java.lang.IllegalMonitorStateException at java.lang.Object.wait(J)V
(Native Method) at org.jboss.jrunit.harness.TestDriver.shutdown
(TestDriver.java:508)
which I solved marking the thread to be waited on that line as synchronized.
After both actions, both jrunit unit tests itself, as well as jboss-remoting unit tests gave much better results, with some issues pending in both cases. I will post the details later.
Cheers,
Ralph
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953875#3953875
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953875
|