You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (JIRA)" <ji...@apache.org> on 2018/02/21 23:25:00 UTC
[jira] [Created] (GEODE-4715) ReconnectDUnitTest calls static
methods to obtain cache and distributed system
Darrel Schneider created GEODE-4715:
---------------------------------------
Summary: 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
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)