gnanda commented on code in PR #54529:
URL: https://github.com/apache/spark/pull/54529#discussion_r2881384827
##########
sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/ChecksumCheckpointFileManagerSuite.scala:
##########
@@ -250,6 +250,30 @@ abstract class ChecksumCheckpointFileManagerSuite extends
CheckpointFileManagerT
checksumFmWithoutFallback.close()
}
}
+
+ test("numThreads = 0 disables thread pool") {
+ withTempHadoopPath { basePath =>
+ val fm = new ChecksumCheckpointFileManager(
+ createNoChecksumManager(basePath),
+ allowConcurrentDelete = true,
+ numThreads = 0,
+ skipCreationIfFileMissingChecksum = false)
+ fm.close()
Review Comment:
Added the checks
--
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]