zaynt4606 commented on code in PR #2688:
URL: https://github.com/apache/celeborn/pull/2688#discussion_r1721198352
##########
tests/spark-it/src/test/scala/org/apache/celeborn/tests/spark/CelebornHashCheckDiskSuite.scala:
##########
@@ -91,9 +91,9 @@ class CelebornHashCheckDiskSuite extends SparkTestBase {
worker.storageManager.workingDirWriters.values().asScala.foreach { t =>
assert(t.size() === 0)
}
- // after shuffle key expired, diskInfo.actualUsableSpace will equal
capacity=1000
+ // after shuffle key expired, diskInfo.actualUsableSpace will equal
capacity=0
Review Comment:
> Shuffle keys are expired means that there is more space to use. I think
this UT looks confusing.
the usableSpace has to considering about the disk reserve size.
the usableSpace and the totalSpace int the original code in this UT will
both be configuredUsableSpace.
But whatever, the UT here has nothing to do with this PR.
update this UT here with the reserve size = 0 would remain the previous
logic.
--
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]