[jboss-cvs] JBoss Messaging SVN: r6636 - trunk/tests/joram-tests/src/org/jboss/test/jms.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Apr 30 12:02:27 EDT 2009


Author: jmesnil
Date: 2009-04-30 12:02:26 -0400 (Thu, 30 Apr 2009)
New Revision: 6636

Modified:
   trunk/tests/joram-tests/src/org/jboss/test/jms/SpawnedJMSServer.java
Log:
joram-tests speed up

* disabled persistence to speed up tests (joram does not test message persistence)

Modified: trunk/tests/joram-tests/src/org/jboss/test/jms/SpawnedJMSServer.java
===================================================================
--- trunk/tests/joram-tests/src/org/jboss/test/jms/SpawnedJMSServer.java	2009-04-30 14:58:10 UTC (rev 6635)
+++ trunk/tests/joram-tests/src/org/jboss/test/jms/SpawnedJMSServer.java	2009-04-30 16:02:26 UTC (rev 6636)
@@ -76,10 +76,10 @@
          conf.getAcceptorConfigurations().add(new TransportConfiguration(NettyAcceptorFactory.class.getName()));
          conf.setSecurityEnabled(false);
          conf.setEnableFileDeployment(false);
-         conf.setJournalMinFiles(2);
-         
-         final MessagingServer server = Messaging.newMessagingServer(conf);
 
+         // disable server persistence since JORAM tests do not restart server
+         final MessagingServer server = Messaging.newMessagingServer(conf, false);
+
          Hashtable<String, String> env = new Hashtable<String, String>();
          env.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
          env.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");




More information about the jboss-cvs-commits mailing list