geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Smith (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (GEODE-320) Snapshot tests failing due to a cache left by a previous test
Date Wed, 09 Sep 2015 20:23:51 GMT

     [ https://issues.apache.org/jira/browse/GEODE-320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dan Smith reassigned GEODE-320:
-------------------------------

    Assignee: Dan Smith

> Snapshot tests failing due to a cache left by a previous test
> -------------------------------------------------------------
>
>                 Key: GEODE-320
>                 URL: https://issues.apache.org/jira/browse/GEODE-320
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Dan Smith
>            Assignee: Dan Smith
>
> Several of the snapshot tests failed in the last nightly build. It looks like a previous
test case left a cache running in some VMs. CacheTestCase would have cleaned this up, so it
looks like this may be caused by a previous test that doesn't extend CacheTestCase and doesn't
clean up after itself.
> {noformat} com.gemstone.gemfire.cache.snapshot.SnapshotByteArrayDUnitTest.testImportByteArray
> com.gemstone.gemfire.cache.snapshot.SnapshotDUnitTest.testCacheExportFilterException
com.gemstone.gemfire.cache.snapshot.SnapshotDUnitTest.testCacheImportFilterException
> com.gemstone.gemfire.cache.snapshot.SnapshotDUnitTest.testExportAndImport
> com.gemstone.gemfire.cache.snapshot.SnapshotPerformanceDUnitTest.testPerformance
> {noformat}
> Sample failure:
> {noformat}
> java.lang.IllegalStateException: Cannot create region /PdxTypes DataPolicy withPersistence=true
because another cache (asf903(25185)<v618>:55958) has the same region DataPolicy withPersistence=false.
Persistent members must be started before non-persistent members
> 	at com.gemstone.gemfire.internal.cache.CreateRegionProcessor$CreateRegionMessage.handleCacheDistributionAdvisee(CreateRegionProcessor.java:483)
> 	at com.gemstone.gemfire.internal.cache.CreateRegionProcessor$CreateRegionMessage.process(CreateRegionProcessor.java:378)
> 	at com.gemstone.gemfire.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:371)
> 	at com.gemstone.gemfire.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:442)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at com.gemstone.gemfire.distributed.internal.DistributionManager.runUntilShutdown(DistributionManager.java:692)
> 	at com.gemstone.gemfire.distributed.internal.DistributionManager$5$1.run(DistributionManager.java:1000)
> 	at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message