[jboss-dev-forums] [Design of Clustering on JBoss] - Re: Default JGroups Configs

ALRubinger do-not-reply at jboss.com
Tue May 12 10:27:04 EDT 2009


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#4230507

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4230507



More information about the jboss-dev-forums mailing list