Skip to content

Commit

Permalink
[IO-751] Add disabled failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Gregory committed Oct 30, 2021
1 parent a44315c commit 4c7a0d1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/test/java/org/apache/commons/io/DeleteDirectoryTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,22 @@

/**
* Tests <a href="https://issues.apache.org/jira/browse/IO-751">IO-751</a>.
* <p>
* Must be run on macOS or Linux, not Windows.
* </p>
*/
@Disabled
public class DeleteDirectoryTest {

@TempDir
public File tempDir;

@BeforeAll
public static void beforeAll() throws IOException {
// This test requires a POSIX file system, so not stock Windows 10.
Assumptions.assumeTrue(PathUtils.isPosix(PathUtils.current()));
}

@TempDir
public File tempDir;

private void testDeleteDirectory(final IOConsumer<Path> deleter) throws IOException {
final Path tempDirPath = tempDir.toPath();

Expand Down

0 comments on commit 4c7a0d1

Please sign in to comment.