HyukjinKwon opened a new pull request #29759:
URL: https://github.com/apache/spark/pull/29759


   ### What changes were proposed in this pull request?
   
   This PR skips the test if trash directory cannot be created. It is possible 
that the trash directory cannot be created, for example, by permission. And the 
test fails below:
   
   ```
   - SPARK-32481 Move data to trash on truncate table if enabled *** FAILED *** 
(154 milliseconds)
     fs.exists(trashPath) was false (DDLSuite.scala:3184)
     org.scalatest.exceptions.TestFailedException:
     at 
org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:530)
     at 
org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:529)
     at org.scalatest.FunSuite.newAssertionFailedException(FunSuite.scala:1560)
     at 
org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:503)
   ```
   
   ### Why are the changes needed?
   
   To make the tests pass independently.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No, test-only.
   
   ### How was this patch tested?
   
   Manually tested.


----------------------------------------------------------------
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to