summaryrefslogtreecommitdiff
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
commitaa7b42ecb66598dd76b0d5c61977d70741b2a0cd (patch)
tree39c03a4ee64bcc5a0273ebca9e414fa257bd47ce
parentdd6510c84dc4cf16af7f11dd4e0022b78d85a902 (diff)
downloadqpid-python-aa7b42ecb66598dd76b0d5c61977d70741b2a0cd.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@1464938 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/java/systests/src/main/java/org/apache/qpid/server/security/auth/manager/ExternalAuthenticationTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/server/security/auth/manager/ExternalAuthenticationTest.java b/qpid/java/systests/src/main/java/org/apache/qpid/server/security/auth/manager/ExternalAuthenticationTest.java
index abf04a2d3e..2e051d93dd 100644
--- a/qpid/java/systests/src/main/java/org/apache/qpid/server/security/auth/manager/ExternalAuthenticationTest.java
+++ b/qpid/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));