[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - MessageDriven tests in jboss-head

adrian@jboss.org do-not-reply at jboss.com
Thu Oct 11 08:48:25 EDT 2007


WRT: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=120986
I fixed up these tests so they are at least running.

Like I said originally, these tests should have been changed to use a pluggable
JMSAdmin class rather the hacks that are currently present. :-(

The test for restarting the JMS needs implementing, it is not an irrelevant test
like the comment in code stated.
Similary the problems with rebooting JBossMessaging I mentioned in different
thread a few months ago are still not fixed.

The topic tests for "deliveryActive" are currently failing. I think this is probably
a race condition (i.e. the subscription is not yet created when the message is sent?) 
in the test but it needs confirming.

Finally, when I copy the test-destinations-full-service.xml to the deploy
directory and boot the server, I'm seeing "random" NPEs from the
PostOffice "getInstance" operation (it's not easy to reproduce - sorry no stacktrace). 
Again, this looks like a race since if I touch the file after the server is fully booted, it
fixes itself (at least I've never seen the NPE with a fully booted server).

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094050#4094050

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094050



More information about the jboss-dev-forums mailing list