summaryrefslogtreecommitdiff
path: root/java/systests
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2013-04-05 12:14:40 +0000
committerRobert Gemmell <robbie@apache.org>2013-04-05 12:14:40 +0000
commit3c40e7be68c9f0b1f083b314e7c546cf283d26e9 (patch)
treebb91298fa43aceb27409ba0bc444bbc3171ce672 /java/systests
parent15ff1dc6ee22c9b1897718810ca3a8e9d353d609 (diff)
downloadqpid-python-3c40e7be68c9f0b1f083b314e7c546cf283d26e9.tar.gz
QPID-4676: set the certificate alias to use for the client to ensure the test behaviour is deterministic, the keystore has 2 certs and different JVMs can select differently as to which is used by default, resulting in test failure on certain platforms.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1464938 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/systests')
-rw-r--r--java/systests/src/main/java/org/apache/qpid/server/security/auth/manager/ExternalAuthenticationTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/systests/src/main/java/org/apache/qpid/server/security/auth/manager/ExternalAuthenticationTest.java b/java/systests/src/main/java/org/apache/qpid/server/security/auth/manager/ExternalAuthenticationTest.java
index abf04a2d3e..2e051d93dd 100644
--- a/java/systests/src/main/java/org/apache/qpid/server/security/auth/manager/ExternalAuthenticationTest.java
+++ b/java/systests/src/main/java/org/apache/qpid/server/security/auth/manager/ExternalAuthenticationTest.java
@@ -267,7 +267,7 @@ public class ExternalAuthenticationTest extends QpidBrokerTestCase
private Connection getExternalSSLConnection(boolean includeUserNameAndPassword) throws Exception
{
- String url = "amqp://%s@test/?brokerlist='tcp://localhost:%s?ssl='true'&sasl_mechs='EXTERNAL''";
+ String url = "amqp://%s@test/?brokerlist='tcp://localhost:%s?ssl='true'&sasl_mechs='EXTERNAL'&ssl_cert_alias='app2''";
if (includeUserNameAndPassword)
{
url = String.format(url, "guest:guest", String.valueOf(QpidBrokerTestCase.DEFAULT_SSL_PORT));