Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B960310070 for ; Mon, 5 Aug 2013 13:31:54 +0000 (UTC) Received: (qmail 51864 invoked by uid 500); 5 Aug 2013 13:31:54 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 51259 invoked by uid 500); 5 Aug 2013 13:31:52 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 50679 invoked by uid 99); 5 Aug 2013 13:31:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Aug 2013 13:31:50 +0000 Date: Mon, 5 Aug 2013 13:31:49 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-4641) JoramJmsTest QueryBrowserTest fails when run with amqp+nio MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13729504#comment-13729504 ] Timothy Bish commented on AMQ-4641: ----------------------------------- You can try that, what it looks like is that since the acks are fired and it doesn't wait for a response the NIO worker interleaves the work for the connection and processes an ack sometimes and then gets to the other connections new browser request before going back to process the other ack. > JoramJmsTest QueryBrowserTest fails when run with amqp+nio > ---------------------------------------------------------- > > Key: AMQ-4641 > URL: https://issues.apache.org/jira/browse/AMQ-4641 > Project: ActiveMQ > Issue Type: Bug > Components: Test Cases > Reporter: Kevin Earls > Priority: Minor > > If you run QueryBrowserTest using amqp+nio, you get the following: > Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 5.166 sec <<< FAILURE! > testSenderBrowser(org.objectweb.jtests.jms.conform.queue.QueueBrowserTest) Time elapsed: 3.053 sec <<< FAILURE! > junit.framework.AssertionFailedError: null > at junit.framework.Assert.fail(Assert.java:55) > at junit.framework.Assert.assertTrue(Assert.java:22) > at junit.framework.Assert.assertTrue(Assert.java:31) > at org.objectweb.jtests.jms.conform.queue.QueueBrowserTest.testSenderBrowser(QueueBrowserTest.java:103) > testBrowserWithMessageSelector(org.objectweb.jtests.jms.conform.queue.QueueBrowserTest) Time elapsed: 2.051 sec <<< FAILURE! > junit.framework.AssertionFailedError: expected:<1> but was:<0> > at junit.framework.Assert.fail(Assert.java:57) > at junit.framework.Assert.failNotEquals(Assert.java:329) > at junit.framework.Assert.assertEquals(Assert.java:78) > at junit.framework.Assert.assertEquals(Assert.java:234) > at junit.framework.Assert.assertEquals(Assert.java:241) > at org.objectweb.jtests.jms.conform.queue.QueueBrowserTest.testBrowserWithMessageSelector(QueueBrowserTest.java:142) > This may be similar to: https://issues.apache.org/jira/browse/AMQ-4376 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira