diff options
author | Martin Ritchie <ritchiem@apache.org> | 2009-03-12 09:22:52 +0000 |
---|---|---|
committer | Martin Ritchie <ritchiem@apache.org> | 2009-03-12 09:22:52 +0000 |
commit | f22ec50f0d9be9b82b6bfd071cebf18c39e09162 (patch) | |
tree | 8a64c7d4f2a7805e1d424387d6009f75a8da272c | |
parent | 901d2469c9fa73d6e44b4ca7c673b37fb0323682 (diff) | |
download | qpid-python-f22ec50f0d9be9b82b6bfd071cebf18c39e09162.tar.gz |
SyncWaitDelay*Test is failing spuradically with a management port clash. Simplest solution here is to disable the management interface for these tests. The more complex change to ensure the MC is shut down correctly and port freed during test startup will not be a problem for production. It only occurs here as we start a broker then stop and start a new one immediately.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@752810 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | java/systests/src/main/java/org/apache/qpid/test/client/timeouts/SyncWaitDelayTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/systests/src/main/java/org/apache/qpid/test/client/timeouts/SyncWaitDelayTest.java b/java/systests/src/main/java/org/apache/qpid/test/client/timeouts/SyncWaitDelayTest.java index e0da406059..59ee4ad511 100644 --- a/java/systests/src/main/java/org/apache/qpid/test/client/timeouts/SyncWaitDelayTest.java +++ b/java/systests/src/main/java/org/apache/qpid/test/client/timeouts/SyncWaitDelayTest.java @@ -70,6 +70,8 @@ public class SyncWaitDelayTest extends QpidTestCase XMLConfiguration configuration = new XMLConfiguration(_configFile); configuration.setProperty("virtualhosts.virtualhost." + VIRTUALHOST+".store.class", "org.apache.qpid.server.store.SlowMessageStore"); configuration.setProperty("virtualhosts.virtualhost." + VIRTUALHOST+".store.delays.commitTran.post", POST_COMMIT_DELAY); + configuration.setProperty("management.enabled", "false"); + File tmpFile = File.createTempFile("configFile", "test"); tmpFile.deleteOnExit(); |