dongjoon-hyun commented on a change in pull request #25125:
[SPARK-28357][CORE][TEST] Fix Flaky Test - FileAppenderSuite.rollingfile
appender - size-based rolling compressed
URL: https://github.com/apache/spark/pull/25125#discussion_r302775165
##########
File path: core/src/test/scala/org/apache/spark/util/FileAppenderSuite.scala
##########
@@ -128,7 +128,7 @@ class FileAppenderSuite extends SparkFunSuite with
BeforeAndAfter with Logging {
val files = testRolling(appender, testOutputStream, textToAppend, 0,
isCompressed = true)
files.foreach { file =>
logInfo(file.toString + ": " + file.length + " bytes")
- assert(file.length < rolloverSize)
+ assert(file.length <= rolloverSize)
Review comment:
At line 112, we use `<=` already.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]