Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-18678

Invalid list of elements when appending security element to the messaging-activemq subsystem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.3.0.GA.CR2
    • ActiveMQ, Test Suite
    • None
    • Hide

      cd testsuite/integration/vdx

      mvn clean install -Dtest=*MessagingTestCase -Djboss.dist=$JBOSS_HOME

      Show
      cd testsuite/integration/vdx mvn clean install -Dtest=*MessagingTestCase -Djboss.dist=$JBOSS_HOME

    Description

      A failure in the MessagingTestCase indicates that there are unexpected values logged when appending (wrongly) the security element to the messaging-activemq subsystem:

      [ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.891 s <<< FAILURE! - in org.wildfly.test.integration.vdx.standalone.MessagingTestCase
      [ERROR] testWrongOrderOfElements(org.wildfly.test.integration.vdx.standalone.MessagingTestCase)  Time elapsed: 2.526 s  <<< FAILURE!
      java.lang.AssertionError: log doesn't contain 'acceptor                   journal-directory'
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.wildfly.test.integration.vdx.TestBase.assertContains(TestBase.java:75)
      	at org.wildfly.test.integration.vdx.standalone.MessagingTestCase.testWrongOrderOfElements(MessagingTestCase.java:199)
      
      Here is what is logged:
      |  496:     <security enabled="false"/>
      |           ^^^^ 'security' isn't an allowed element here
      |                Elements allowed here are: 
      |                  acceptor                   jms-topic                  
      |                  address-setting            journal-directory          
      |                  bindings-directory         large-messages-directory   
      |                  bridge                     legacy-connection-factory  
      |                  broadcast-group            live-only                  
      |                  cluster-connection         paging-directory           
      |                  connection-factory         pooled-connection-factory  
      |                  connector                  queue                      
      |                  connector-service          remote-acceptor            
      |                  discovery-group            remote-connector           
      |                  divert                     replication-colocated      
      |                  grouping-handler           replication-master         
      |                  http-acceptor              replication-slave          
      |                  http-connector             security-setting           
      |                  in-vm-acceptor             shared-store-colocated     
      |                  in-vm-connector            shared-store-master        
      |                  jms-queue                  shared-store-slave 
      

      This is different from what is tested in https://github.com/wildfly/wildfly/blob/master/testsuite/integration/vdx/src/test/java/org/wildfly/test/integration/vdx/standalone/MessagingTestCase.java#L192

      Attachments

        Activity

          People

            ehugonne1@redhat.com Emmanuel Hugonnet
            fmarchio@redhat.com Francesco Marchioni (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: