[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: ConsumerTest Hudson intermittent failure
clebert.suconic@jboss.com
do-not-reply at jboss.com
Mon Dec 8 22:44:01 EST 2008
I thought it was failing because of asynchronous calls to ACK, but I made a change and still fails.
On way to easily replicate this is doing this:
| org.jboss.messaging.tests.integration.consumer.ConsumerTest
|
| public void testConsumerAckImmediateAckIgnored() throws Exception
| {
| for (int i = 0; i < 100; i++)
| {
| internaltestConsumerAckImmediateAckIgnored();
| tearDown();
| setUp();
| }
| }
|
| private void internaltestConsumerAckImmediateAckIgnored() throws Exception
| {
|
| ClientSessionFactory sf = new ClientSessionFactoryImpl(new TransportConfiguration("org.jboss.messaging.core.remoting.impl.invm.InVMConnectorFactory"));
|
| sf.setBlockOnAcknowledge(true);
| sf.setBlockOnNonPersistentSend(true);
| sf.setBlockOnPersistentSend(true);
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195200#4195200
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195200
More information about the jboss-dev-forums
mailing list