[ 
https://issues.apache.org/jira/browse/GEODE-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647642#comment-14647642
 ] 

Amogh Shetkar commented on GEODE-155:
-------------------------------------

This intermittent failure seems to be caused by gateway-sender-event-processor 
thread getting terminated in the middle of the test run due to an unexpected 
{{DistributedSystemDisconnectedException}}.
The thread flushes the first batch of events to HDFS as a .shop file but 
terminates before it could flush the second batch creating another .shop file. 
Hence the failure.

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

Reply via email to