Fixed test issue in GatewayReceiverNamespaceTest class which caused a com.gemstone.gemfire.management.ManagementException: javax.management.InstanceAlreadyExistsException: GemFire:service=GatewayReceiver,type=Member,member=10.237.177.13(80647)-24771 when mocking was disabled and true integration testing was performed in the SDG build/test run.
This commit is contained in:
@@ -55,9 +55,10 @@ public class GatewayReceiverNamespaceTest {
|
||||
private GatewayReceiverFactoryBean manualGatewayReceiver;
|
||||
|
||||
@Test
|
||||
// TODO test the default value for "manual-start" (true) without explicitly setting the attribute in Spring XML
|
||||
public void testDefault() throws Exception {
|
||||
assertNotNull("The 'Default' GatewayReceiverFactoryBean was not properly configured and initialized!", defaultFactoryBean);
|
||||
assertTrue(defaultFactoryBean.isAutoStartup());
|
||||
assertFalse(defaultFactoryBean.isAutoStartup());
|
||||
|
||||
GatewayReceiver defaultGatewayReceiver = defaultFactoryBean.getObject();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user