summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2010-02-16 23:51:40 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2010-02-16 23:51:40 +0000
commit637ce7950f786fe8b825b3a22ef3089e415b19cf (patch)
tree627a042cd9b1337f8182d6d78b240f96c250fdc0
parent2a17b17623a03d89814d7d76bae26080e3914ef2 (diff)
downloadqpid-python-637ce7950f786fe8b825b3a22ef3089e415b19cf.tar.gz
This is related to QPID-2404
The C++ broker removes stales messages using the following strategies a) If a consumer requests a messages, it checks the head and discards it if it's expired b) Runs the queue cleaner thread every x (defaults to 5 mins) secs and discards stale messages. I enabled the TimeToLiveTest (by commenting it out) and reduced the --queue-purge-interval to 1 sec. This may interfere with other tests. If that happens I will try to increase above interval and the test timeout and see if we could get by. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@910777 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-xjava/test-profiles/CPPExcludes2
-rw-r--r--java/test-profiles/cpp.testprofile2
2 files changed, 2 insertions, 2 deletions
diff --git a/java/test-profiles/CPPExcludes b/java/test-profiles/CPPExcludes
index f729111982..24b381ef1f 100755
--- a/java/test-profiles/CPPExcludes
+++ b/java/test-profiles/CPPExcludes
@@ -59,7 +59,7 @@ org.apache.qpid.test.client.timeouts.SyncWaitTimeoutDelayTest#*
// c++ broker doesn't support priorities, TTL or message bouncing
org.apache.qpid.server.exchange.ReturnUnroutableMandatoryMessageTest#*
org.apache.qpid.server.queue.PriorityTest#*
-org.apache.qpid.server.queue.TimeToLiveTest#*
+#org.apache.qpid.server.queue.TimeToLiveTest#*
// QPID-1727 , QPID-1726 :c++ broker does not support flow to disk on transient queues. Also it requries a persistent store impl. for Apache
org.apache.qpid.test.client.QueueBrowsingFlowToDiskTest#*
diff --git a/java/test-profiles/cpp.testprofile b/java/test-profiles/cpp.testprofile
index f6d8d6f353..65d05d0bfd 100644
--- a/java/test-profiles/cpp.testprofile
+++ b/java/test-profiles/cpp.testprofile
@@ -12,7 +12,7 @@ broker.module.store=${store.module.dir}/msgstore.so
broker.stopped=Exception constructed
broker.modules=
-broker.args=
+broker.args=--queue-purge-interval 1
broker=${broker.executable} -p @PORT --data-dir ${build.data}/@PORT -t --auth no --no-module-dir ${broker.modules} ${broker.args}