From e45c1d98d4768a0a37b319d1df107d6c32142919 Mon Sep 17 00:00:00 2001 From: Domenico Francesco Bruscino Date: Wed, 24 Mar 2021 19:36:31 +0100 Subject: [PATCH] NO-JIRA Fix NettyConnectorWithHTTPUpgradeTest --- .../netty/NettyConnectorWithHTTPUpgradeTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/transports/netty/NettyConnectorWithHTTPUpgradeTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/transports/netty/NettyConnectorWithHTTPUpgradeTest.java index 986d610f7a..92aab6d7b1 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/transports/netty/NettyConnectorWithHTTPUpgradeTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/transports/netty/NettyConnectorWithHTTPUpgradeTest.java @@ -123,12 +123,12 @@ public class NettyConnectorWithHTTPUpgradeTest extends ActiveMQTestBase { server.start(); HashMap httpConnectorParams = new HashMap<>(); - httpAcceptorParams.put(TransportConstants.HTTP_UPGRADE_ENABLED_PROP_NAME, true); - httpAcceptorParams.put(TransportConstants.PORT_PROP_NAME, HTTP_PORT); + httpConnectorParams.put(TransportConstants.HTTP_UPGRADE_ENABLED_PROP_NAME, true); + httpConnectorParams.put(TransportConstants.PORT_PROP_NAME, HTTP_PORT); if (useSSL) { - httpAcceptorParams.put(TransportConstants.SSL_ENABLED_PROP_NAME, true); - httpAcceptorParams.put(TransportConstants.TRUSTSTORE_PATH_PROP_NAME, CLIENT_SIDE_TRUSTSTORE); - httpAcceptorParams.put(TransportConstants.TRUSTSTORE_PASSWORD_PROP_NAME, PASSWORD); + httpConnectorParams.put(TransportConstants.SSL_ENABLED_PROP_NAME, true); + httpConnectorParams.put(TransportConstants.TRUSTSTORE_PATH_PROP_NAME, CLIENT_SIDE_TRUSTSTORE); + httpConnectorParams.put(TransportConstants.TRUSTSTORE_PASSWORD_PROP_NAME, PASSWORD); } locator = ActiveMQClient.createServerLocatorWithoutHA(new TransportConfiguration(NETTY_CONNECTOR_FACTORY, httpConnectorParams)); addServerLocator(locator);