https://jira.jboss.org/jira/browse/JBBOOT-72
And the failing case:
/**
| * Ensures that the partitioning properties are not initialized,
| * and return null from {@link System#getProperty(String)}
| *
| * JBBOOT-72
| */
| @Test
| public void testClusteringPropertiesUninitialized() throws Throwable
| {
| // Log
| log.info("testClusteringPropertiesUninitialized");
|
| // Initialize
| server.initialize();
|
| // Define property keys
| final String udpGroupPropKey =
JBossASServerConfig.PROP_KEY_JBOSSAS_PARTITION_UDP_GROUP;
| final String udpPortPropKey =
JBossASServerConfig.PROP_KEY_JBOSSAS_PARTITION_UDP_PORT;
|
| // Get Properties from System
| final String udpGroupFromSystem = System.getProperty(udpGroupPropKey);
| final String udpPortFromSystem = System.getProperty(udpPortPropKey);
|
| // Ensure null
| final String failMessage = "Expected non-defaulted property value to be
null from system property";
| TestCase.assertNull(failMessage, udpGroupFromSystem);
| TestCase.assertNull(failMessage, udpPortFromSystem);
| }
S,
ALR
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4230507#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...