RobertIndie commented on code in PR #23236:
URL: https://github.com/apache/pulsar/pull/23236#discussion_r1740728479


##########
pulsar-broker/src/test/java/org/apache/pulsar/broker/service/persistent/ShadowReplicatorTest.java:
##########
@@ -131,7 +131,7 @@ public void testShadowReplication() throws Exception {
 
         Message<byte[]> shadowMessage = shadowConsumer.receive(5, 
TimeUnit.SECONDS);
 
-        Assert.assertEquals(shadowMessage.getData(), sourceMessage.getData());
+        Assert.assertEquals(shadowMessage.getData().length, 0);

Review Comment:
   Sorry. I changed it by mistake. The test should fail. However, I found that 
this test class has never been tested by the CI. Will fix it.



-- 
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