Author: lquack
Date: Tue Nov 17 08:54:55 2015
New Revision: 1714734
URL: http://svn.apache.org/viewvc?rev=1714734&view=rev
Log:
NO-JIRA: [Java Tests] add comment about flaky test as a hint for future
failure/investigation
Modified:
qpid/java/trunk/systests/src/test/java/org/apache/qpid/client/prefetch/PrefetchBehaviourTest.java
Modified:
qpid/java/trunk/systests/src/test/java/org/apache/qpid/client/prefetch/PrefetchBehaviourTest.java
URL:
http://svn.apache.org/viewvc/qpid/java/trunk/systests/src/test/java/org/apache/qpid/client/prefetch/PrefetchBehaviourTest.java?rev=1714734&r1=1714733&r2=1714734&view=diff
==============================================================================
---
qpid/java/trunk/systests/src/test/java/org/apache/qpid/client/prefetch/PrefetchBehaviourTest.java
(original)
+++
qpid/java/trunk/systests/src/test/java/org/apache/qpid/client/prefetch/PrefetchBehaviourTest.java
Tue Nov 17 08:54:55 2015
@@ -143,6 +143,8 @@ public class PrefetchBehaviourTest exten
*/
public void testMessagesAreDistributedBetweenConsumersWithLowPrefetch()
throws Exception
{
+ // This test is flaky. There is no guarantee that the messages have
been sent to
+ // consumerA's prefetch buffer by the time consumerB calls receive().
Queue queue = getTestQueue();
setTestClientSystemProperty(ClientProperties.MAX_PREFETCH_PROP_NAME,
new Integer(2).toString());
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]