[ https://issues.apache.org/jira/browse/GEODE-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14649512#comment-14649512 ]
Amogh Shetkar commented on GEODE-155: ------------------------------------- This seems to be happening due to an instance of DistributionManager from previous testcase lingering on and affecting the validation of based on some flags. We do close cache and disconnect from the distributed-system before each testcase ends, but still seeing this issue. Looking into cleaning it up properly. > RegionWithHDFS*BasicDUnitTest.testWOTimeForRollOverParam failed due to > incorrect number of files created. > --------------------------------------------------------------------------------------------------------- > > Key: GEODE-155 > URL: https://issues.apache.org/jira/browse/GEODE-155 > Project: Geode > Issue Type: Bug > Components: hdfs > Affects Versions: 1.0.0-incubating > Reporter: Amogh Shetkar > Assignee: Amogh Shetkar > > The same test case in two distributed tests failed with the same error in > Jenkins build #165. > {code} > com.gemstone.gemfire.cache.hdfs.internal.RegionWithHDFSOffHeapBasicDUnitTest > > testWOTimeForRollOverParam FAILED > junit.framework.AssertionFailedError: there should be exactly two files, > but there are 1 > com.gemstone.gemfire.cache.hdfs.internal.RegionWithHDFSBasicDUnitTest > > testWOTimeForRollOverParam FAILED > junit.framework.AssertionFailedError: there should be exactly two files, > but there are 1 > at junit.framework.Assert.fail(Assert.java:57) > at junit.framework.Assert.assertTrue(Assert.java:22) > at junit.framework.TestCase.assertTrue(TestCase.java:192) > at > com.gemstone.gemfire.cache.hdfs.internal.RegionWithHDFSBasicDUnitTest.verifyTwoHDFSFiles(RegionWithHDFSBasicDUnitTest.java:1075) > at > com.gemstone.gemfire.cache.hdfs.internal.RegionWithHDFSBasicDUnitTest.testWOTimeForRollOverParam(RegionWithHDFSBasicDUnitTest.java:1023) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)