You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2021/04/09 13:53:52 UTC

[activemq-artemis] branch master updated: ARTEMIS-3106 - remove sha-1 references from the test

This is an automated email from the ASF dual-hosted git repository.

gtully pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/master by this push:
     new 9c9f89f  ARTEMIS-3106 - remove sha-1 references from the test
9c9f89f is described below

commit 9c9f89f1d5149e2cd499ff1b8320e56f88902b18
Author: gtully <ga...@gmail.com>
AuthorDate: Fri Apr 9 14:52:55 2021 +0100

    ARTEMIS-3106 - remove sha-1 references from the test
---
 .../activemq/artemis/tests/integration/amqp/sasl/SaslScramTest.java     | 2 --
 tests/integration-tests/src/test/resources/broker-saslscram.xml         | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/sasl/SaslScramTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/sasl/SaslScramTest.java
index d114372..9e39a30 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/sasl/SaslScramTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/sasl/SaslScramTest.java
@@ -69,7 +69,6 @@ public class SaslScramTest extends ActiveMQTestBase {
     */
    @Test
    public void testUnencryptedWorksWithAllMechanism() throws JMSException {
-      sendRcv("SCRAM-SHA-1", "hello", "ogre1234");
       sendRcv("SCRAM-SHA-256", "hello", "ogre1234");
    }
 
@@ -79,7 +78,6 @@ public class SaslScramTest extends ActiveMQTestBase {
     */
    @Test
    public void testEncryptedWorksWithAllMechanism() throws JMSException {
-      sendRcv("SCRAM-SHA-1", "multi", "worksforall");
       sendRcv("SCRAM-SHA-256", "multi", "worksforall");
    }
 
diff --git a/tests/integration-tests/src/test/resources/broker-saslscram.xml b/tests/integration-tests/src/test/resources/broker-saslscram.xml
index a0252ac..f471dc5 100644
--- a/tests/integration-tests/src/test/resources/broker-saslscram.xml
+++ b/tests/integration-tests/src/test/resources/broker-saslscram.xml
@@ -28,7 +28,7 @@ under the License.
         <security-enabled>true</security-enabled>
 
         <acceptors>
-            <acceptor name="amqp">tcp://localhost:5672?protocols=AMQP;saslMechanisms=SCRAM-SHA-256,SCRAM-SHA-1;saslLoginConfigScope=amqp-sasl-scram
+            <acceptor name="amqp">tcp://localhost:5672?protocols=AMQP;saslMechanisms=SCRAM-SHA-256;saslLoginConfigScope=amqp-sasl-scram
             </acceptor>
         </acceptors>
         <security-settings>