sijie commented on a change in pull request #504: Investigate 
CompactionByEntriesTest issue (WIP)
URL: https://github.com/apache/bookkeeper/pull/504#discussion_r137570582
 
 

 ##########
 File path: 
bookkeeper-server/src/test/java/org/apache/bookkeeper/client/BookKeeperTest.java
 ##########
 @@ -717,8 +717,6 @@ public void testReadEntryReleaseByteBufs() throws 
Exception {
                 for (Enumeration<LedgerEntry> readEntries = lh.readEntries(0, 
numEntries - 1);
                     readEntries.hasMoreElements();) {
                     LedgerEntry entry = readEntries.nextElement();
-                    assertTrue(entry.data.getClass().getName(),
-                        
entry.data.getClass().getName().contains("PooledNonRetainedSlicedByteBuf"));
 
 Review comment:
   this check is not correct, and depends heavily on the implementation of 
netty. because the class can be SimpleLeakAwareByteBuf.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to