0 Replies Latest reply on Oct 20, 2008 10:17 AM by ataylor

    MultiThreadRandomFailoverTest

    ataylor

      I'm seeing intermittent failures with the MultiThreadRandomFailoverTest, see stacktrace below. Also this has a knock on effect for other tests so ive added a check in the teardown method to make sure the server gets stopped.

      One other thing is that this test seems to take for ever to run, any chance we can move it to be part of the stress tests as I like to run the integration tests before checking in.

       [junit] Thread-0 (group:JBM-InVM-Transport-Threads-17948370) 13:42:13,297 WARN [ServerConsumerImpl] Queue has size 1
       [junit] Thread-0 (group:JBM-InVM-Transport-Threads-17948370) 13:42:13,301 ERROR [ServerSessionPacketHandler] Caught unexpected exception
       [junit] java.lang.IllegalStateException: Cannot find ref when replicating delivery 1283988161734640022
       [junit] at org.jboss.messaging.core.server.impl.ServerConsumerImpl.deliverReplicated(ServerConsumerImpl.java:337)
       [junit] at org.jboss.messaging.core.server.impl.ServerSessionImpl.handleReplicatedDelivery(ServerSessionImpl.java:1134)
       [junit] at org.jboss.messaging.core.server.impl.ServerSessionPacketHandler.handlePacket(ServerSessionPacketHandler.java:384)
       [junit] at org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl$ChannelImpl.handlePacket(RemotingConnectionImpl.java:1275)
       [junit] at org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl$ChannelImpl.access$300(RemotingConnectionImpl.java:819)
       [junit] at org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:436)
       [junit] at org.jboss.messaging.core.remoting.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:328)
       [junit] at org.jboss.messaging.core.remoting.impl.invm.InVMConnection$1.run(InVMConnection.java:119)
       [junit] at org.jboss.messaging.util.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:105)
       [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
       [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
       [junit] at java.lang.Thread.run(Thread.java:619)