[hornetq-commits] JBoss hornetq SVN: r8134 - trunk/tests/src/org/hornetq/tests/util.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Oct 22 03:45:44 EDT 2009


Author: jmesnil
Date: 2009-10-22 03:45:44 -0400 (Thu, 22 Oct 2009)
New Revision: 8134

Modified:
   trunk/tests/src/org/hornetq/tests/util/ServiceTestBase.java
Log:
https://jira.jboss.org/jira/browse/HORNETQ-182 - fixing testcase

* added missing method ServiceTesBase.createClusteredServerWithParams(int, boolean, int, int Map)

Modified: trunk/tests/src/org/hornetq/tests/util/ServiceTestBase.java
===================================================================
--- trunk/tests/src/org/hornetq/tests/util/ServiceTestBase.java	2009-10-22 03:09:56 UTC (rev 8133)
+++ trunk/tests/src/org/hornetq/tests/util/ServiceTestBase.java	2009-10-22 07:45:44 UTC (rev 8134)
@@ -193,6 +193,19 @@
                           -1,
                           new HashMap<String, AddressSettings>());
    }
+   
+   protected HornetQServer createClusteredServerWithParams(final int index,
+                                                           final boolean realFiles,
+                                                           final int pageSize,
+                                                           final int maxAddressSize,
+                                                           final Map<String, Object> params)
+   {
+      return createServer(realFiles,
+                          createClusteredDefaultConfig(index, params, INVM_ACCEPTOR_FACTORY),
+                          pageSize,
+                          maxAddressSize,
+                          new HashMap<String, AddressSettings>());
+   }
 
    protected Configuration createDefaultConfig()
    {



More information about the hornetq-commits mailing list