JBoss hornetq SVN: r11533 - trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/client.
by do-not-reply@jboss.org
Author: ataylor
Date: 2011-10-13 10:07:24 -0400 (Thu, 13 Oct 2011)
New Revision: 11533
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/client/IncompatibleVersionTest.java
Log:
test fix
Modified: trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/client/IncompatibleVersionTest.java
===================================================================
--- trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/client/IncompatibleVersionTest.java 2011-10-13 14:02:50 UTC (rev 11532)
+++ trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/client/IncompatibleVersionTest.java 2011-10-13 14:07:24 UTC (rev 11533)
@@ -181,7 +181,7 @@
prop.load(in);
prop.setProperty("hornetq.version.compatibleVersionList", verList);
prop.setProperty("hornetq.version.incrementingVersion", Integer.toString(ver));
- prop.store(new FileOutputStream("tests/tmpfiles/" + propFileName), null);
+ prop.store(new FileOutputStream("target/test-classes/" + propFileName), null);
Process server = null;
boolean result = false;
13 years, 2 months
JBoss hornetq SVN: r11532 - trunk/tests.
by do-not-reply@jboss.org
Author: ataylor
Date: 2011-10-13 10:02:50 -0400 (Thu, 13 Oct 2011)
New Revision: 11532
Modified:
trunk/tests/pom.xml
Log:
commented out manifest test
Modified: trunk/tests/pom.xml
===================================================================
--- trunk/tests/pom.xml 2011-10-13 13:36:56 UTC (rev 11531)
+++ trunk/tests/pom.xml 2011-10-13 14:02:50 UTC (rev 11532)
@@ -27,6 +27,10 @@
<configuration>
<skipTests>${skipUnitTests}</skipTests>
<argLine>-Djava.util.logging.config.file=${user.dir}/distribution/hornetq/src/main/resources/stand-alone/non-clustered/logging.properties</argLine>
+ <excludes>
+ <!--todo this test is dependant on the jar so needs to be run post package as an integration tests-->
+ <exclude>**/ManifestTest.java</exclude>
+ </excludes>
</configuration>
</plugin>
</plugins>
13 years, 2 months
JBoss hornetq SVN: r11531 - trunk/tests/unit-tests/src/test/java/org/hornetq/tests/unit/core/deployers/impl.
by do-not-reply@jboss.org
Author: ataylor
Date: 2011-10-13 09:36:56 -0400 (Thu, 13 Oct 2011)
New Revision: 11531
Modified:
trunk/tests/unit-tests/src/test/java/org/hornetq/tests/unit/core/deployers/impl/FileDeploymentManagerTest.java
Log:
fixed FileDeploymentTest
Modified: trunk/tests/unit-tests/src/test/java/org/hornetq/tests/unit/core/deployers/impl/FileDeploymentManagerTest.java
===================================================================
--- trunk/tests/unit-tests/src/test/java/org/hornetq/tests/unit/core/deployers/impl/FileDeploymentManagerTest.java 2011-10-13 12:34:32 UTC (rev 11530)
+++ trunk/tests/unit-tests/src/test/java/org/hornetq/tests/unit/core/deployers/impl/FileDeploymentManagerTest.java 2011-10-13 13:36:56 UTC (rev 11531)
@@ -63,8 +63,12 @@
FileDeploymentManagerTest.log.debug("Filename is " + filename);
- File file = new File("tests/tmpfiles/" + filename);
+ File file = new File("target/test-classes/");
+ file.mkdirs();
+
+ file = new File("target/test-classes/" + filename);
+
FileDeploymentManagerTest.log.debug(file.getAbsoluteFile());
file.createNewFile();
@@ -92,6 +96,7 @@
finally
{
file.delete();
+ fdm.stop();
}
}
@@ -101,8 +106,12 @@
FileDeploymentManagerTest.log.debug("Filename is " + filename);
- File file = new File("tests/tmpfiles/" + filename);
+ File file = new File("target/test-classes/");
+ file.mkdirs();
+
+ file = new File("target/test-classes/" + filename);
+
FileDeploymentManagerTest.log.debug(file.getAbsoluteFile());
file.createNewFile();
@@ -125,6 +134,7 @@
finally
{
file.delete();
+ fdm.stop();
}
}
@@ -138,10 +148,18 @@
String filename2 = "fdm_test_file.xml2";
String filename3 = "fdm_test_file.xml3";
- File file1 = new File("tests/tmpfiles/" + filename1);
- File file2 = new File("tests/tmpfiles/" + filename2);
- File file3 = new File("tests/tmpfiles/" + filename3);
+ File file1 = new File("target/test-classes/");
+ File file2 = new File("target/test-classes/");
+ File file3 = new File("target/test-classes/");
+ file1.mkdirs();
+ file2.mkdirs();
+ file3.mkdirs();
+
+ file1 = new File("target/test-classes/" + filename1);
+ file2 = new File("target/test-classes/" + filename2);
+ file3 = new File("target/test-classes/" + filename3);
+
file1.createNewFile();
file2.createNewFile();
file3.createNewFile();
@@ -222,9 +240,9 @@
file1.delete();
file2.delete();
file3.delete();
+ fdm.stop();
}
-
- fdm.stop();
+
}
public void testRedeploy() throws Exception
@@ -235,8 +253,12 @@
String filename = "fdm_test_file.xml1";
- File file = new File("tests/tmpfiles/" + filename);
+ File file = new File("target/test-classes/");
+ file.mkdirs();
+
+ file = new File("target/test-classes/" + filename);
+
file.createNewFile();
long oldLastModified = file.lastModified();
@@ -286,8 +308,12 @@
String filename = "fdm_test_file.xml1";
- File file = new File("tests/tmpfiles/" + filename);
+ File file = new File("target/test-classes/");
+ file.mkdirs();
+
+ file = new File("target/test-classes/" + filename);
+
file.createNewFile();
FakeDeployer deployer = new FakeDeployer(filename);
13 years, 2 months
JBoss hornetq SVN: r11530 - trunk/hornetq-core/src/main/java/org/hornetq/core/server/cluster/impl.
by do-not-reply@jboss.org
Author: ataylor
Date: 2011-10-13 08:34:32 -0400 (Thu, 13 Oct 2011)
New Revision: 11530
Modified:
trunk/hornetq-core/src/main/java/org/hornetq/core/server/cluster/impl/ClusterConnectionImpl.java
Log:
moved creating backup server locator to constructo to avoid race condition on close
Modified: trunk/hornetq-core/src/main/java/org/hornetq/core/server/cluster/impl/ClusterConnectionImpl.java
===================================================================
--- trunk/hornetq-core/src/main/java/org/hornetq/core/server/cluster/impl/ClusterConnectionImpl.java 2011-10-13 09:54:50 UTC (rev 11529)
+++ trunk/hornetq-core/src/main/java/org/hornetq/core/server/cluster/impl/ClusterConnectionImpl.java 2011-10-13 12:34:32 UTC (rev 11530)
@@ -241,6 +241,10 @@
clusterConnector = new StaticClusterConnector(tcConfigs);
+ backupServerLocator = clusterConnector.createServerLocator(false);
+ backupServerLocator.setReconnectAttempts(-1);
+ backupServerLocator.setInitialConnectAttempts(-1);
+
if (tcConfigs != null && tcConfigs.length > 0)
{
// a cluster connection will connect to other nodes only if they are directly connected
@@ -340,6 +344,10 @@
clusterConnector = new DiscoveryClusterConnector(dg);
+ backupServerLocator = clusterConnector.createServerLocator(false);
+ backupServerLocator.setReconnectAttempts(-1);
+ backupServerLocator.setInitialConnectAttempts(-1);
+
this.manager = manager;
}
@@ -450,12 +458,6 @@
public void announceBackup()
{
- this.backupServerLocator = clusterConnector.createServerLocator(false);
-
- backupServerLocator.setReconnectAttempts(-1);
- backupServerLocator.setInitialConnectAttempts(-1);
-
-
executor.execute(new Runnable()
{
public void run()
13 years, 2 months
JBoss hornetq SVN: r11529 - in trunk/hornetq-core/src: test/java/org/hornetq/tests/util and 1 other directory.
by do-not-reply@jboss.org
Author: ataylor
Date: 2011-10-13 05:54:50 -0400 (Thu, 13 Oct 2011)
New Revision: 11529
Modified:
trunk/hornetq-core/src/main/java/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java
trunk/hornetq-core/src/test/java/org/hornetq/tests/util/UnitTestCase.java
Log:
added check for hanging retries after shutdown
Modified: trunk/hornetq-core/src/main/java/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java
===================================================================
--- trunk/hornetq-core/src/main/java/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java 2011-10-13 07:06:03 UTC (rev 11528)
+++ trunk/hornetq-core/src/main/java/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java 2011-10-13 09:54:50 UTC (rev 11529)
@@ -16,15 +16,8 @@
import java.lang.ref.WeakReference;
import java.security.AccessController;
import java.security.PrivilegedAction;
-import java.util.ArrayList;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-import java.util.concurrent.Executor;
-import java.util.concurrent.Future;
-import java.util.concurrent.ScheduledExecutorService;
-import java.util.concurrent.TimeUnit;
+import java.util.*;
+import java.util.concurrent.*;
import java.util.concurrent.locks.Lock;
import org.hornetq.api.core.HornetQBuffer;
@@ -156,6 +149,8 @@
private final Object waitLock = new Object();
+ public final static List<CloseRunnable> CLOSE_RUNNABLES = new ArrayList<CloseRunnable>();
+
// Static
// ---------------------------------------------------------------------------------------
@@ -1453,17 +1448,7 @@
serverLocator.notifyNodeDown(System.currentTimeMillis(), msg.getNodeID().toString());
}
- closeExecutor.execute(new Runnable()
- {
- // Must be executed on new thread since cannot block the netty thread for a long time and fail can
- // cause reconnect loop
- public void run()
- {
- conn.fail(new HornetQException(HornetQException.DISCONNECTED,
- "The connection was disconnected because of server shutdown"));
-
- }
- });
+ closeExecutor.execute(new CloseRunnable(conn));
}
else if (type == PacketImpl.CLUSTER_TOPOLOGY)
{
@@ -1520,8 +1505,42 @@
}
}
}
+
+
}
+ public class CloseRunnable implements Runnable
+ {
+ private CoreRemotingConnection conn;
+
+ public CloseRunnable(CoreRemotingConnection conn)
+ {
+ this.conn = conn;
+ }
+
+ // Must be executed on new thread since cannot block the netty thread for a long time and fail can
+ // cause reconnect loop
+ public void run()
+ {
+ CLOSE_RUNNABLES.add(this);
+ try
+ {
+ conn.fail(new HornetQException(HornetQException.DISCONNECTED,
+ "The connection was disconnected because of server shutdown"));
+ } finally
+ {
+ CLOSE_RUNNABLES.remove(this);
+ }
+
+ }
+
+ public ClientSessionFactoryImpl stop()
+ {
+ causeExit();
+ return ClientSessionFactoryImpl.this;
+ }
+
+ }
private class DelegatingBufferHandler implements BufferHandler
{
public void bufferReceived(final Object connectionID, final HornetQBuffer buffer)
Modified: trunk/hornetq-core/src/test/java/org/hornetq/tests/util/UnitTestCase.java
===================================================================
--- trunk/hornetq-core/src/test/java/org/hornetq/tests/util/UnitTestCase.java 2011-10-13 07:06:03 UTC (rev 11528)
+++ trunk/hornetq-core/src/test/java/org/hornetq/tests/util/UnitTestCase.java 2011-10-13 09:54:50 UTC (rev 11529)
@@ -57,6 +57,7 @@
import org.hornetq.api.core.client.ClientMessage;
import org.hornetq.api.core.client.ClientSession;
import org.hornetq.core.asyncio.impl.AsynchronousFileImpl;
+import org.hornetq.core.client.impl.ClientSessionFactoryImpl;
import org.hornetq.core.client.impl.ServerLocatorImpl;
import org.hornetq.core.config.Configuration;
import org.hornetq.core.config.impl.ConfigurationImpl;
@@ -913,8 +914,25 @@
@Override
protected void tearDown() throws Exception
{
+ List<ClientSessionFactoryImpl.CloseRunnable> closeRunnables = new ArrayList<ClientSessionFactoryImpl.CloseRunnable>(ClientSessionFactoryImpl.CLOSE_RUNNABLES);
+ ArrayList<Exception> exceptions = new ArrayList<Exception>();
+ if(!closeRunnables.isEmpty())
+ {
+ for (ClientSessionFactoryImpl.CloseRunnable closeRunnable : closeRunnables)
+ {
+ exceptions.add(closeRunnable.stop().e);
+ }
+ }
cleanupPools();
-
+ //clean up pools before failing
+ if(!exceptions.isEmpty())
+ {
+ for (Exception exception : exceptions)
+ {
+ exception.printStackTrace();
+ }
+ fail("Client Session Factories still tryint to reconnect, see above to see where created");
+ }
Map<Thread, StackTraceElement[]> threadMap = Thread.getAllStackTraces();
for (Thread thread : threadMap.keySet())
{
@@ -925,12 +943,12 @@
{
alreadyFailedThread.add(thread);
System.out.println(threadDump(this.getName() + " has left threads running. Look at thread " +
- thread.getName() +
- " id = " +
- thread.getId() +
- " has running locators on test " +
- this.getName() +
- " on this following dump"));
+ thread.getName() +
+ " id = " +
+ thread.getId() +
+ " has running locators on test " +
+ this.getName() +
+ " on this following dump"));
fail("test left serverlocator running, this could effect other tests");
}
else if (stackTraceElement.getMethodName().contains("BroadcastGroupImpl.run") && !alreadyFailedThread.contains(thread))
13 years, 2 months
JBoss hornetq SVN: r11528 - in trunk: tests and 8 other directories.
by do-not-reply@jboss.org
Author: ataylor
Date: 2011-10-13 03:06:03 -0400 (Thu, 13 Oct 2011)
New Revision: 11528
Modified:
trunk/pom.xml
trunk/tests/concurrent-tests/pom.xml
trunk/tests/integration-tests/pom.xml
trunk/tests/jms-tests/pom.xml
trunk/tests/joram-tests/pom.xml
trunk/tests/performance-tests/pom.xml
trunk/tests/pom.xml
trunk/tests/soak-tests/pom.xml
trunk/tests/stress-tests/pom.xml
trunk/tests/timing-tests/pom.xml
Log:
added log formatting and re enabled tests
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2011-10-12 18:07:38 UTC (rev 11527)
+++ trunk/pom.xml 2011-10-13 07:06:03 UTC (rev 11528)
@@ -387,9 +387,9 @@
<module>tests</module>
</modules>
<properties>
- <skipUnitTests>true</skipUnitTests>
- <skipJmsTests>true</skipJmsTests>
- <skipJoramTests>true</skipJoramTests>
+ <skipUnitTests>false</skipUnitTests>
+ <skipJmsTests>false</skipJmsTests>
+ <skipJoramTests>false</skipJoramTests>
<skipIntegrationTests>false</skipIntegrationTests>
<skipTimingTests>true</skipTimingTests>
<skipConcurrentTests>true</skipConcurrentTests>
@@ -475,6 +475,7 @@
<testFailureIgnore>true</testFailureIgnore>
<runOrder>alphabetical</runOrder>
<redirectTestOutputToFile>false</redirectTestOutputToFile>
+ <argLine>-Djava.util.logging.config.file=${user.dir}/distribution/hornetq/src/main/resources/stand-alone/non-clustered/logging.properties</argLine>
</configuration>
</plugin>
<plugin>
Modified: trunk/tests/concurrent-tests/pom.xml
===================================================================
--- trunk/tests/concurrent-tests/pom.xml 2011-10-12 18:07:38 UTC (rev 11527)
+++ trunk/tests/concurrent-tests/pom.xml 2011-10-13 07:06:03 UTC (rev 11528)
@@ -122,6 +122,7 @@
<includes>
<include>**/*Test.java</include>
</includes>
+ <argLine>-Djava.util.logging.config.file=${user.dir}/distribution/hornetq/src/main/resources/stand-alone/non-clustered/logging.properties</argLine>
</configuration>
</plugin>
</plugins>
Modified: trunk/tests/integration-tests/pom.xml
===================================================================
--- trunk/tests/integration-tests/pom.xml 2011-10-12 18:07:38 UTC (rev 11527)
+++ trunk/tests/integration-tests/pom.xml 2011-10-13 07:06:03 UTC (rev 11528)
@@ -124,7 +124,7 @@
<excluse>**/replication/**.java</excluse>
<exclude>**/*Replicated**.java</exclude>
</excludes>
- <argLine>-Djava.library.path=${user.dir}/distribution/hornetq/src/main/resources/bin</argLine>
+ <argLine>-Djava.library.path=${user.dir}/distribution/hornetq/src/main/resources/bin -Djava.util.logging.config.file=${user.dir}/distribution/hornetq/src/main/resources/stand-alone/non-clustered/logging.properties</argLine>
</configuration>
</plugin>
</plugins>
Modified: trunk/tests/jms-tests/pom.xml
===================================================================
--- trunk/tests/jms-tests/pom.xml 2011-10-12 18:07:38 UTC (rev 11527)
+++ trunk/tests/jms-tests/pom.xml 2011-10-13 07:06:03 UTC (rev 11528)
@@ -114,6 +114,7 @@
<exclude>org/hornetq/jms/tests/stress/*.java</exclude>
<exclude>org/hornetq/jms/tests/manual/**</exclude>
</excludes>
+ <argLine>-Djava.util.logging.config.file=${user.dir}/distribution/hornetq/src/main/resources/stand-alone/non-clustered/logging.properties</argLine>
</configuration>
</plugin>
</plugins>
Modified: trunk/tests/joram-tests/pom.xml
===================================================================
--- trunk/tests/joram-tests/pom.xml 2011-10-12 18:07:38 UTC (rev 11527)
+++ trunk/tests/joram-tests/pom.xml 2011-10-13 07:06:03 UTC (rev 11528)
@@ -112,6 +112,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>${skipJoramTests}</skipTests>
+ <argLine>-Djava.util.logging.config.file=${user.dir}/distribution/hornetq/src/main/resources/stand-alone/non-clustered/logging.properties</argLine>
</configuration>
</plugin>
</plugins>
Modified: trunk/tests/performance-tests/pom.xml
===================================================================
--- trunk/tests/performance-tests/pom.xml 2011-10-12 18:07:38 UTC (rev 11527)
+++ trunk/tests/performance-tests/pom.xml 2011-10-13 07:06:03 UTC (rev 11528)
@@ -122,6 +122,7 @@
<includes>
<include>**/*Test.java</include>
</includes>
+ <argLine>-Djava.util.logging.config.file=${user.dir}/distribution/hornetq/src/main/resources/stand-alone/non-clustered/logging.properties</argLine>
</configuration>
</plugin>
</plugins>
Modified: trunk/tests/pom.xml
===================================================================
--- trunk/tests/pom.xml 2011-10-12 18:07:38 UTC (rev 11527)
+++ trunk/tests/pom.xml 2011-10-13 07:06:03 UTC (rev 11528)
@@ -26,6 +26,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>${skipUnitTests}</skipTests>
+ <argLine>-Djava.util.logging.config.file=${user.dir}/distribution/hornetq/src/main/resources/stand-alone/non-clustered/logging.properties</argLine>
</configuration>
</plugin>
</plugins>
Modified: trunk/tests/soak-tests/pom.xml
===================================================================
--- trunk/tests/soak-tests/pom.xml 2011-10-12 18:07:38 UTC (rev 11527)
+++ trunk/tests/soak-tests/pom.xml 2011-10-13 07:06:03 UTC (rev 11528)
@@ -129,6 +129,7 @@
<includes>
<include>**/*Test.java</include>
</includes>
+ <argLine>-Djava.util.logging.config.file=${user.dir}/distribution/hornetq/src/main/resources/stand-alone/non-clustered/logging.properties</argLine>
</configuration>
</plugin>
</plugins>
Modified: trunk/tests/stress-tests/pom.xml
===================================================================
--- trunk/tests/stress-tests/pom.xml 2011-10-12 18:07:38 UTC (rev 11527)
+++ trunk/tests/stress-tests/pom.xml 2011-10-13 07:06:03 UTC (rev 11528)
@@ -129,6 +129,7 @@
<includes>
<include>**/*Test.java</include>
</includes>
+ <argLine>-Djava.util.logging.config.file=${user.dir}/distribution/hornetq/src/main/resources/stand-alone/non-clustered/logging.properties</argLine>
</configuration>
</plugin>
</plugins>
Modified: trunk/tests/timing-tests/pom.xml
===================================================================
--- trunk/tests/timing-tests/pom.xml 2011-10-12 18:07:38 UTC (rev 11527)
+++ trunk/tests/timing-tests/pom.xml 2011-10-13 07:06:03 UTC (rev 11528)
@@ -127,6 +127,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>${skipTimingTests}</skipTests>
+ <argLine>-Djava.util.logging.config.file=${user.dir}/distribution/hornetq/src/main/resources/stand-alone/non-clustered/logging.properties</argLine>
</configuration>
</plugin>
</plugins>
13 years, 2 months
JBoss hornetq SVN: r11527 - trunk/tests/integration-tests.
by do-not-reply@jboss.org
Author: ataylor
Date: 2011-10-12 14:07:38 -0400 (Wed, 12 Oct 2011)
New Revision: 11527
Modified:
trunk/tests/integration-tests/pom.xml
Log:
commented out replication tests part 3
Modified: trunk/tests/integration-tests/pom.xml
===================================================================
--- trunk/tests/integration-tests/pom.xml 2011-10-12 14:24:04 UTC (rev 11526)
+++ trunk/tests/integration-tests/pom.xml 2011-10-12 18:07:38 UTC (rev 11527)
@@ -122,7 +122,7 @@
<exclude>**/failover/remote/**.java</exclude>
<exclude>**/Replicated*.java</exclude>
<excluse>**/replication/**.java</excluse>
- <exclude>**/Replicated**.java</exclude>
+ <exclude>**/*Replicated**.java</exclude>
</excludes>
<argLine>-Djava.library.path=${user.dir}/distribution/hornetq/src/main/resources/bin</argLine>
</configuration>
13 years, 2 months
JBoss hornetq SVN: r11526 - trunk/hornetq-core/src/main/java/org/hornetq/core/server.
by do-not-reply@jboss.org
Author: gaohoward
Date: 2011-10-12 10:24:04 -0400 (Wed, 12 Oct 2011)
New Revision: 11526
Modified:
trunk/hornetq-core/src/main/java/org/hornetq/core/server/HornetQServers.java
Log:
fix broken tests
Modified: trunk/hornetq-core/src/main/java/org/hornetq/core/server/HornetQServers.java
===================================================================
--- trunk/hornetq-core/src/main/java/org/hornetq/core/server/HornetQServers.java 2011-10-12 14:21:55 UTC (rev 11525)
+++ trunk/hornetq-core/src/main/java/org/hornetq/core/server/HornetQServers.java 2011-10-12 14:24:04 UTC (rev 11526)
@@ -108,4 +108,19 @@
return server;
}
+ public static HornetQServer newHornetQServer(final Configuration config,
+ final MBeanServer mbeanServer,
+ final boolean enablePersistence,
+ String user,
+ String password)
+ {
+ HornetQSecurityManager securityManager = new HornetQSecurityManagerImpl();
+
+ securityManager.addUser(user, password);
+
+ HornetQServer server = HornetQServers.newHornetQServer(config, mbeanServer, securityManager, enablePersistence);
+
+ return server;
+ }
+
}
13 years, 2 months
JBoss hornetq SVN: r11525 - trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/management.
by do-not-reply@jboss.org
Author: gaohoward
Date: 2011-10-12 10:21:55 -0400 (Wed, 12 Oct 2011)
New Revision: 11525
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/management/ManagementWithStompTest.java
Log:
fix broken tests
Modified: trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/management/ManagementWithStompTest.java
===================================================================
--- trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/management/ManagementWithStompTest.java 2011-10-12 13:22:58 UTC (rev 11524)
+++ trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/management/ManagementWithStompTest.java 2011-10-12 14:21:55 UTC (rev 11525)
@@ -174,7 +174,8 @@
TransportConfiguration stompTransport = new TransportConfiguration(NettyAcceptorFactory.class.getName(), params);
conf.getAcceptorConfigurations().add(stompTransport);
conf.getAcceptorConfigurations().add(new TransportConfiguration(InVMAcceptorFactory.class.getName()));
- server = HornetQServers.newHornetQServer(conf, mbeanServer, false);
+ server = HornetQServers.newHornetQServer(conf, mbeanServer, false, "brianm", "wombats");
+
server.start();
locator = createInVMNonHALocator();
13 years, 2 months
JBoss hornetq SVN: r11524 - trunk/tests/integration-tests.
by do-not-reply@jboss.org
Author: ataylor
Date: 2011-10-12 09:22:58 -0400 (Wed, 12 Oct 2011)
New Revision: 11524
Modified:
trunk/tests/integration-tests/pom.xml
Log:
commented out replication tests part 2
Modified: trunk/tests/integration-tests/pom.xml
===================================================================
--- trunk/tests/integration-tests/pom.xml 2011-10-12 13:13:43 UTC (rev 11523)
+++ trunk/tests/integration-tests/pom.xml 2011-10-12 13:22:58 UTC (rev 11524)
@@ -122,6 +122,7 @@
<exclude>**/failover/remote/**.java</exclude>
<exclude>**/Replicated*.java</exclude>
<excluse>**/replication/**.java</excluse>
+ <exclude>**/Replicated**.java</exclude>
</excludes>
<argLine>-Djava.library.path=${user.dir}/distribution/hornetq/src/main/resources/bin</argLine>
</configuration>
13 years, 2 months