[ https://issues.apache.org/jira/browse/GEODE-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15860439#comment-15860439 ]
ASF subversion and git services commented on GEODE-2456: -------------------------------------------------------- Commit 6890bbdf1b822c5f7695eec242b5e7a43e5cfb49 in geode's branch refs/heads/feature/GEODE-2456 from [~apa...@the9muses.net] [ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=6890bbd ] GEODE-2456: change JUnit4CacheTestCase tearDown to use deleteQuietly > Distributed Transaction dunit tests are failing during tearDown > --------------------------------------------------------------- > > Key: GEODE-2456 > URL: https://issues.apache.org/jira/browse/GEODE-2456 > Project: Geode > Issue Type: Bug > Components: tests > Reporter: Kirk Lund > Assignee: Kirk Lund > > The Distributed Transaction dunit tests are failing during tearDown. It looks > like the JUnit tearDown thread and some other async thread are racing to > delete diskstore files. > {noformat} > Caused by: java.nio.file.NoSuchFileException: > ./BACKUPDiskStore-0-0-org.apache.geode.disttx.DistributedTransactionDUnitTest.testPutAllWithTransactions_1.krf > at > sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) > at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) > at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) > at > sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244) > at > sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103) > at java.nio.file.Files.delete(Files.java:1126) > at org.apache.geode.internal.FileUtil.delete(FileUtil.java:166) > at > org.apache.geode.test.dunit.cache.internal.JUnit4CacheTestCase.deleteBACKUPDiskStoreFile(JUnit4CacheTestCase.java:578) > ... 28 more > {noformat} > Recommended changes: > * change from using org.apache.geode.internal.FileUtil to > org.apache.commons.io.FileUtils > * make sure distributed transaction dunit tests aren't leaving orphaned > threads running after test completes -- This message was sent by Atlassian JIRA (v6.3.15#6346)