This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 333ef98  Fixed flaky test testActiveSubscriptionWithCache (#4282)
333ef98 is described below

commit 333ef9836bed96f20dfa1e09418c4bf975819ddb
Author: Matteo Merli <[email protected]>
AuthorDate: Thu May 16 12:56:21 2019 -0700

    Fixed flaky test testActiveSubscriptionWithCache (#4282)
---
 .../java/org/apache/pulsar/broker/service/PersistentTopicE2ETest.java   | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/PersistentTopicE2ETest.java
 
b/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/PersistentTopicE2ETest.java
index 38fec89..2747a8e 100644
--- 
a/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/PersistentTopicE2ETest.java
+++ 
b/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/PersistentTopicE2ETest.java
@@ -299,8 +299,6 @@ public class PersistentTopicE2ETest extends BrokerTestBase {
         assertNotNull(curosr);
         // (4.2) Validate: validate cursor name
         assertEquals(subName, curosr.getName());
-        // (4.3) Validate: entryCache should have cached messages
-        assertTrue(entryCache.getSize() != 0);
 
         /************* Validation on empty active-cursor **************/
         // (5) Close consumer: which (1)removes activeConsumer and (2)clears 
the entry-cache

Reply via email to