Ryan McMahon created GEODE-6052: ----------------------------------- Summary: Refactor JMX tests to avoid use of PowerMock Key: GEODE-6052 URL: https://issues.apache.org/jira/browse/GEODE-6052 Project: Geode Issue Type: Task Components: tests Reporter: Ryan McMahon
PowerMock is troublesome because it introduces global state which pollutes other tests, but it has been used to mock static methods in the MBeanJMXAdapterTest and MBeanProxyFactoryTest. We should determine what test and API changes would be required to eliminate PowerMock from these tests, which is currently used to mock these static methods: 1. InternalDistributedSystem.getConnectedInstance() 2. LogService.getLogger() -- This message was sent by Atlassian JIRA (v7.6.3#76005)