amaliujia commented on code in PR #10439:
URL: https://github.com/apache/ozone/pull/10439#discussion_r3366355780


##########
hadoop-hdds/client/src/test/java/org/apache/hadoop/hdds/scm/storage/TestBufferPool.java:
##########
@@ -59,6 +59,8 @@ private void assertAllocationBlockedUntilReleased(BufferPool 
pool, Deque<ChunkBu
     // As the pool is full, allocation will need to wait until a buffer is 
released.
     assertFull(pool);
 
+    assertEquals(buffers.size(), pool.getAllocatedBuffers().size());

Review Comment:
   Can we consolidate this line into `assertFull`? 



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to