From aa7b42ecb66598dd76b0d5c61977d70741b2a0cd Mon Sep 17 00:00:00 2001 From: Robert Gemmell Date: Fri, 5 Apr 2013 12:14:40 +0000 Subject: 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 --- .../qpid/server/security/auth/manager/ExternalAuthenticationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/java') 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)); -- cgit v1.2.1