summaryrefslogtreecommitdiff
path: root/java/systests
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2010-05-31 16:05:55 +0000
committerRobert Gemmell <robbie@apache.org>2010-05-31 16:05:55 +0000
commitcbeecb0e4e6ef1200ffc6afed4e1100828312850 (patch)
treee387711dc636d05b5f0e60ca31029a7842e8890e /java/systests
parent5b9f0c5168d17c2d61a114d32749f11a833eacd9 (diff)
downloadqpid-python-cbeecb0e4e6ef1200ffc6afed4e1100828312850.tar.gz
QPID-2569: Implement the SimpleXML as an OSGi plugin
Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949784 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/systests')
-rw-r--r--java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java b/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java
index fc9b07eadd..ee2938f2fe 100644
--- a/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java
+++ b/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java
@@ -88,13 +88,8 @@ public class SimpleACLTest extends AbstractACLTestCase
try
{
//get a connection to the 'test2' vhost using the guest user and perform various actions.
- Connection conn = getConnection(new AMQConnectionURL(
- "amqp://username:password@clientid/test2?brokerlist='" + getBroker() + "'"));
-
- ((AMQConnection) conn).setConnectionListener(this);
-
- Session sesh = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);
-
+ Connection conn = getConnection("test2", "guest", "guest");
+ Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);
conn.start();
//create Queues and consumers for each