qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Rudyy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-6833) [Java Broker] Operational log message SUB-1003 is not logged by SuspendedConsumerLoggingTicker causing failures of ConsumerLoggingTest#testSubscriptionSuspend
Date Fri, 06 Nov 2015 16:49:27 GMT
Alex Rudyy created QPID-6833:
--------------------------------

             Summary: [Java Broker] Operational log message  SUB-1003  is not logged by SuspendedConsumerLoggingTicker
causing failures of ConsumerLoggingTest#testSubscriptionSuspend
                 Key: QPID-6833
                 URL: https://issues.apache.org/jira/browse/QPID-6833
             Project: Qpid
          Issue Type: Bug
    Affects Versions: qpid-java-6.0
            Reporter: Alex Rudyy
            Priority: Critical



Operational log message  "SUB-1003 : Suspended for {0,number} ms" is not logged by SuspendedConsumerLoggingTicker
causing failures of ConsumerLoggingTest#testSubscriptionSuspen
{noformat}
junit.framework.AssertionFailedError: Expected at least two suspension messages, but got 1
	at junit.framework.Assert.fail(Assert.java:57)
	at junit.framework.Assert.assertTrue(Assert.java:22)
	at junit.framework.TestCase.assertTrue(TestCase.java:192)
	at org.apache.qpid.server.logging.ConsumerLoggingTest.testSubscriptionSuspend(ConsumerLoggingTest.java:328)
{noformat}

It appear that QueueConsumerImpl anonymous implementation of SuspendedConsumerLoggingTicker
is not called all the time to issue operational log message



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message