Author: clebert.suconic(a)jboss.com
Date: 2010-09-22 18:12:28 -0400 (Wed, 22 Sep 2010)
New Revision: 9719
Modified:
trunk/tests/src/org/hornetq/tests/integration/ssl/CoreClientOverSSLTest.java
Log:
reverting my last commit on this test
Modified: trunk/tests/src/org/hornetq/tests/integration/ssl/CoreClientOverSSLTest.java
===================================================================
---
trunk/tests/src/org/hornetq/tests/integration/ssl/CoreClientOverSSLTest.java 2010-09-22
22:10:29 UTC (rev 9718)
+++
trunk/tests/src/org/hornetq/tests/integration/ssl/CoreClientOverSSLTest.java 2010-09-22
22:12:28 UTC (rev 9719)
@@ -30,7 +30,6 @@
import org.hornetq.core.remoting.impl.netty.TransportConstants;
import org.hornetq.core.server.HornetQServer;
import org.hornetq.core.server.HornetQServers;
-import org.hornetq.core.settings.impl.AddressSettings;
import org.hornetq.tests.util.RandomUtil;
import org.hornetq.tests.util.UnitTestCase;
@@ -130,25 +129,12 @@
@Override
protected void setUp() throws Exception
{
- clearData();
-
ConfigurationImpl config = new ConfigurationImpl();
config.setSecurityEnabled(false);
Map<String, Object> params = new HashMap<String, Object>();
params.put(TransportConstants.SSL_ENABLED_PROP_NAME, true);
config.getAcceptorConfigurations().add(new
TransportConfiguration(NettyAcceptorFactory.class.getName(), params));
-
- config.setJournalDirectory(getJournalDir());
- config.setPagingDirectory(getPageDir());
- config.setBindingsDirectory(getBindingsDir());
-
server = HornetQServers.newHornetQServer(config, false);
-
- AddressSettings defaultSetting = new AddressSettings();
- defaultSetting.setMaxSizeBytes(-1);
-
- server.getAddressSettingsRepository().addMatch("#", defaultSetting);
-
server.start();
}
Show replies by date