Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-8686

PIM Backend - Don't use whole Swarm in KieServiceImplTest

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.25.0.Final
    • 7.24.0.Final
    • Migration
    • None
    • 1
    • NEW
    • NEW
    • 2019 Week 29-31

    Description

      Current KieServiceImplTest class uses whole Swarm just to read and resolve a configuration YAML file. As a consequence, tests rely on some dependencies like xalan, xalan-serializer and others to be present in the local Maven repository. However, these dependencies (their specific versions corresponding to Swarm/Thorntail version) may not be present on the classpath which makes the test fail with a clean repo.

      The fix would be to replace the whole Swarm instantiation just with a simple ConfigViewFactory instantiation.

      Attachments

        Activity

          People

            mmacik@redhat.com Marian Macik
            mmacik@redhat.com Marian Macik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: