nodece commented on code in PR #17318:
URL: https://github.com/apache/pulsar/pull/17318#discussion_r963205259


##########
pulsar-broker/src/test/java/org/apache/pulsar/client/impl/MessageRedeliveryTest.java:
##########
@@ -324,6 +326,77 @@ public void testRedeliveryAddEpoch(boolean enableBatch) 
throws Exception{
         assertEquals(message.getValue(), test3);
     }
 
+    @Test(dataProvider = "enableBatch")
+    public void testBatchReceiveRedeliveryAddEpoch(boolean enableBatch) throws 
Exception{
+        final String topic = "testBatchReceiveRedeliveryAddEpoch";
+        final String subName = "my-sub";
+        ConsumerBase<String> consumer = ((ConsumerBase<String>) 
pulsarClient.newConsumer(Schema.STRING)

Review Comment:
   ```suggestion
           ConsumerImpl<String> consumer = ((ConsumerImpl<String>) 
pulsarClient.newConsumer(Schema.STRING)
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to