Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-8530

Missing log entries when running tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.3.0
    • None
    • testing

      Steps to reproduce

      1. Run `mvn clean verify` (Reproduced always on Jenkins with, never locally)

      Expected results

      All tests pass

      Actual results

      RepositoryBackedSecurityManagerTest#findPrincipalNodeByTraversalWithMultipleMatches and RepositoryBackedSecurityManagerTest#findPrincipalNodeByQueryWithMultipleMatches fail.

      Development notes

      The failing tests expect a message being logged, which is missing.

      The root cause is the logging system being shut down when running MagnoliaServletContextListenerTest by the call to init.MagnoliaServletContextListener#contextDestroyed.

        Acceptance criteria

              mduerig Michael Duerig
              mduerig Michael Duerig
              Foundation
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD