attilapiros commented on code in PR #37474:
URL: https://github.com/apache/spark/pull/37474#discussion_r943034872
##########
sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/CheckpointFileManagerSuite.scala:
##########
@@ -58,50 +69,40 @@ abstract class CheckpointFileManagerTests extends
SparkFunSuite with SQLHelper {
// Create atomic without overwrite
var path = new Path(s"$dir/file")
assert(!fm.exists(path))
- fm.createAtomic(path, overwriteIfPossible = false).cancel()
+ fm.createAtomic(path, overwriteIfPossible =
false).writeContent(1).cancel()
Review Comment:
I have extended this test to write some content into those stream and check
their contents to make sure which operations really wins if two tries to write
into the same location.
--
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]