deshanxiao opened a new pull request #27647: [SPARK-30883][TEST] Cancel the 
tests when setReadable and setExecutable don't work
URL: https://github.com/apache/spark/pull/27647
 
 
   ### What changes were proposed in this pull request?
   The java api setWritable,setReadable and setExecutable dosen't work well 
because root can read / write or execute every files. Maybe, we could cancel 
these tests or fast failure when the mvn test is starting.
   
   
   ### Why are the changes needed?
   When we run the test in root role, the test will fail.
   ```
   SPARK-3697: ignore files that cannot be read. *** FAILED ***
     2 was not equal to 1 (FsHistoryProviderSuite.scala:187)
   - temporary shuffle/local file should be able to handle disk failures *** 
FAILED ***
     tempShuffleFile3.exists() was true All disks are broken, so there should 
be no temp shuffle file created (DiskBlockManagerSuite.scala:124)
   ```
   
   
   ### Does this PR introduce any user-facing change?
   No
   
   
   ### How was this patch tested?
   UT
   

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

Reply via email to