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

ASF subversion and git services commented on GEODE-6348:
--------------------------------------------------------

Commit 62345298b24d0c90a24b81f4a5e60b114622d07f in geode's branch 
refs/heads/feature/GEODE-5013 from Dan Smith
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=6234529 ]

GEODE-6348: Wait for cache to close in test of ConflictingPersistentData


> CI Failure: 
> PersistentPartitionedRegionDUnitTest.cacheIsClosedWhenConflictingPersistentDataExceptionIsThrown
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-6348
>                 URL: https://issues.apache.org/jira/browse/GEODE-6348
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Dan Smith
>            Assignee: Dan Smith
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.10.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> This test failed for me in a StressNewTest run:
> {noformat}
> org.apache.geode.internal.cache.partitioned.PersistentPartitionedRegionDistributedTest
>  > cacheIsClosedWhenConflictingPersistentDataExceptionIsThrown FAILED
>       
>     java.lang.AssertionError: Suspicious strings were written to the log 
> during this run.
>       
>     Fix the strings or use IgnoredException.addIgnoredException to ignore.
>       
>     -----------------------------------------------------------------------
>       
>     Found suspect string in log4j at line 1535
>       
>       
>     [error 2019/01/31 20:14:19.857 UTC <RMI TCP Connection(8)-172.17.0.15> 
> tid=5135] 
> org.apache.geode.distributed.DistributedSystemDisconnectedException: This 
> connection to a distributed system has been disconnected.
> {noformat}
> Looking into the code, it looks like the issue is that the test triggered a 
> cache close to happen in a background thread (due to the 
> ConflictingPersistentDataException), but it didn't wait for the close to 
> complete. The next operation the test tries to do fails because the cache is 
> in the process of shutting down.
> Results URL:
> http://files.apachegeode-ci.info/builds/apache-develop-pr/geode-pr-3136/test-results/repeatTest/1548966963/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to