[ https://issues.apache.org/jira/browse/ARTEMIS-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15123217#comment-15123217 ]
ASF GitHub Bot commented on ARTEMIS-368: ---------------------------------------- GitHub user dudaerich opened a pull request: https://github.com/apache/activemq-artemis/pull/359 ARTEMIS-368 - [Artemis Testsuite] TemporaryQueueTest#testBlockingWith… …TemporaryQueue fails You can merge this pull request into a Git repository by running: $ git pull https://github.com/dudaerich/activemq-artemis ARTEMIS-368 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/activemq-artemis/pull/359.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #359 ---- commit 3663f4c01e69f315ea806530b78a791789d6a8ee Author: Erich Duda <ed...@redhat.com> Date: 2016-01-29T08:57:49Z ARTEMIS-368 - [Artemis Testsuite] TemporaryQueueTest#testBlockingWithTemporaryQueue fails ---- > [Artemis Testsuite] TemporaryQueueTest#testBlockingWithTemporaryQueue fails > --------------------------------------------------------------------------- > > Key: ARTEMIS-368 > URL: https://issues.apache.org/jira/browse/ARTEMIS-368 > Project: ActiveMQ Artemis > Issue Type: Bug > Affects Versions: 1.1.0 > Reporter: Erich Duda > > {code} > expected:<737> but was:<736> > java.lang.AssertionError: expected:<737> but was:<736> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:743) > at org.junit.Assert.assertEquals(Assert.java:118) > at org.junit.Assert.assertEquals(Assert.java:555) > at org.junit.Assert.assertEquals(Assert.java:542) > at > org.apache.activemq.artemis.tests.integration.client.TemporaryQueueTest.testBlockingWithTemporaryQueue(TemporaryQueueTest.java:600) > {code} > There is while cycle which check whether producer is blocked and thus > temporary queue is full. Sometimes it can happen that producer spend all his > credits too fast and he is blocked because he waits to receive credits from > server, but the queue is not full. We have to ensure that the producer is > blocked due to full queue and it is not just temporary state. -- This message was sent by Atlassian JIRA (v6.3.4#6332)