wForget commented on code in PR #2773:
URL: https://github.com/apache/uniffle/pull/2773#discussion_r3635072764
##########
server/src/test/java/org/apache/uniffle/server/buffer/ShuffleBufferManagerTest.java:
##########
@@ -623,31 +621,29 @@ public void shuffleFlushThreshold() throws Exception {
shuffleBufferManager.cacheShuffleData(appId, shuffleId, false,
createData(0, 64));
assertEquals(96, shuffleBufferManager.getUsedMemory());
shuffleBufferManager.cacheShuffleData(appId, smallShuffleId, false,
createData(0, 31));
- assertEquals(96 + 63, shuffleBufferManager.getUsedMemory());
Review Comment:
The flush might have already been completed before this assertion.
--
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]