diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2010-02-16 23:51:40 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2010-02-16 23:51:40 +0000 |
commit | aaabede31fc48296076bc57abe07eddcb4fd55d0 (patch) | |
tree | b6f0663e1dcf9dacc0eb5e0709fdade39d539f34 | |
parent | d58773a6bd520f65fdac1c665164210b40aa1630 (diff) | |
download | qpid-python-aaabede31fc48296076bc57abe07eddcb4fd55d0.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@910777 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-x | qpid/java/test-profiles/CPPExcludes | 2 | ||||
-rw-r--r-- | qpid/java/test-profiles/cpp.testprofile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qpid/java/test-profiles/CPPExcludes b/qpid/java/test-profiles/CPPExcludes index f729111982..24b381ef1f 100755 --- a/qpid/java/test-profiles/CPPExcludes +++ b/qpid/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/qpid/java/test-profiles/cpp.testprofile b/qpid/java/test-profiles/cpp.testprofile index f6d8d6f353..65d05d0bfd 100644 --- a/qpid/java/test-profiles/cpp.testprofile +++ b/qpid/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} |