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

technoboy pushed a commit to branch branch-2.11
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/branch-2.11 by this push:
     new c9ae4339a5c Fix cherry-pick #19934 cause compile issue.
c9ae4339a5c is described below

commit c9ae4339a5caae3ceb9bc7237c8a04b544894100
Author: Jiwe Guo <[email protected]>
AuthorDate: Fri Apr 7 11:06:54 2023 +0800

    Fix cherry-pick #19934 cause compile issue.
---
 .../pulsar/broker/service/PersistentDispatcherFailoverConsumerTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/PersistentDispatcherFailoverConsumerTest.java
 
b/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/PersistentDispatcherFailoverConsumerTest.java
index e7425f7e4e3..79756786e82 100644
--- 
a/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/PersistentDispatcherFailoverConsumerTest.java
+++ 
b/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/PersistentDispatcherFailoverConsumerTest.java
@@ -303,7 +303,7 @@ public class PersistentDispatcherFailoverConsumerTest {
 
     @Test(timeOut = 10000)
     public void testAddConsumerWhenClosed() throws Exception {
-        PersistentTopic topic = new PersistentTopic(successTopicName, 
ledgerMock, pulsarTestContext.getBrokerService());
+        PersistentTopic topic = new PersistentTopic(successTopicName, 
ledgerMock, brokerService);
         PersistentSubscription sub = new PersistentSubscription(topic, 
"sub-1", cursorMock, false);
         PersistentDispatcherSingleActiveConsumer pdfc = new 
PersistentDispatcherSingleActiveConsumer(cursorMock,
                 SubType.Failover, 0, topic, sub);

Reply via email to