JoshRosen commented on a change in pull request #27754: [SPARK-31003][TESTS]
Fix incorrect uses of assume() in tests
URL: https://github.com/apache/spark/pull/27754#discussion_r386250490
##########
File path: core/src/test/scala/org/apache/spark/storage/LocalDirsSuite.scala
##########
@@ -39,7 +39,7 @@ class LocalDirsSuite extends SparkFunSuite with
BeforeAndAfter {
private def assumeNonExistentAndNotCreatable(f: File): Unit = {
try {
- assume(!f.exists() && !f.mkdirs())
+ assert(!f.exists() && !f.mkdirs())
Review comment:
I've reverted this line.
----------------------------------------------------------------
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]