summaryrefslogtreecommitdiff
path: root/qpid/java/systests/src
diff options
context:
space:
mode:
authorRobert Godfrey <rgodfrey@apache.org>2014-02-24 17:22:34 +0000
committerRobert Godfrey <rgodfrey@apache.org>2014-02-24 17:22:34 +0000
commit7b4074a9037f3e7354323d6eddfc7c76628b9614 (patch)
treeb75d3c9ab59fd38c1d5c0fb5b4d5d26c9e76515f /qpid/java/systests/src
parent01aabaf74f4a09b04648d71c78254d9d5860d4e8 (diff)
downloadqpid-python-7b4074a9037f3e7354323d6eddfc7c76628b9614.tar.gz
QPID-5555 : address review comments from Robbie Gemmell
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1571359 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/systests/src')
-rw-r--r--qpid/java/systests/src/main/java/org/apache/qpid/server/logging/DurableQueueLoggingTest.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/DurableQueueLoggingTest.java b/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/DurableQueueLoggingTest.java
index c9f3aca91f..dcc1837c5b 100644
--- a/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/DurableQueueLoggingTest.java
+++ b/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/DurableQueueLoggingTest.java
@@ -98,7 +98,11 @@ public class DurableQueueLoggingTest extends AbstractTestLogging
String clientID = _connection.getClientID();
assertNotNull("clientID should not be null", clientID);
- validateQueueProperties(results, false, false, clientID);
+ // in 0-8/9/9-1 an exclusive queue will be deleted when the connection is closed, so auto-delete is true.
+ // in 0-10 an exclusive queue outlasts the creating connection and so is not auto-delete
+ // the queue only has owner as the client-id in 0-8/9/91 where exclusivity is taken to mean exclusive to the
+ // client-id in perpetuity. For 0-10 exclusive means exclusive to a session.
+ validateQueueProperties(results, false, !(isBroker010() || _durable), (_durable && !isBroker010()) ? clientID : null);
}
/**