You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/03/16 17:21:00 UTC

[jira] [Updated] (GEODE-4715) ReconnectDUnitTest calls static methods to obtain cache and distributed system

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

ASF GitHub Bot updated GEODE-4715:
----------------------------------
    Labels: pull-request-available  (was: )

> ReconnectDUnitTest calls static methods to obtain cache and distributed system
> ------------------------------------------------------------------------------
>
>                 Key: GEODE-4715
>                 URL: https://issues.apache.org/jira/browse/GEODE-4715
>             Project: Geode
>          Issue Type: Sub-task
>          Components: membership
>            Reporter: Darrel Schneider
>            Assignee: Bruce Schuchardt
>            Priority: Major
>              Labels: pull-request-available
>
> Correct the component if "reconnect" is not a membership issue.
> ReconnectDUnitTest calls static methods to obtain cache and distributed system:
> CacheFactory.getAnyInstance()
> InternalDistributedSystem.getAnyInstance()
> InternalDistributedSystem.getConnectedInstance()
> It does this to verify that a reconnect completed and created a new cache and system.
> I think the existing "reconnect" feature has problems if geode gets rid of the concept of a singleton cache. The current "reconnect" feature closes the old cache and then creates a new one, that it thinks can be discovered using the methods that return the static singleton.
> So fixing this test may require a redesign of the reconnect feature.



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