Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3117

Add tests for add-logging-api-dependencies logging attribute

    XMLWordPrintable

Details

    Description

      https://issues.jboss.org/browse/PRODMGT-591 introduced a new logging subsystem attribute add-logging-api-dependencies.

      Logging dependencies are still added by default. There are already tests in org.jboss.as.test.integration.logging covering default functionality. We have to test the case when logging modules are not available (set value of add-logging-api-dependencies to false).

      LoggingDependenciesTestCase

      • start the server
      • deploy a archive with dependency on Log4j
      • verify that deployment was successful and undeploy it
      • set add-logging-api-dependencies=false
      • reload the server so the changes are propagated
      • deploy the archive again
      • exception should be thrown this time during deployment

      Attachments

        Activity

          People

            pkremens@redhat.com Petr Kremensky (Inactive)
            pkremens@redhat.com Petr Kremensky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: