Uploaded image for project: 'WildFly Arquillian'
  1. WildFly Arquillian
  2. WFARQ-19

ArquillianService tries to install duplicate services if subdeployments have the same name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.1.0.Alpha2
    • 2.1.0.Alpha1
    • None

      When ArquillianService installs a service for an ArquillianConfig it is not ensuring that service names are unique. When it builds the service name it only accounts for the name of the deployment/subdeployment, ignoring the fact that subdeployments with different parents can have the same name. It should check if the deployment is a subdeployment and if so include the parent deployment name in the service name.

      It currently works around this with a hack in ArquillianConfigBuilder: see the code following the FIXME in https://paste.fedoraproject.org/525756/58138148/

      Presumably the answer to the FIXME's question is my first paragraph here.

      The hack should be removed as part of fixing this; it's verboten to block an MSC service thread, which this hack does.

              tomazcerar Tomaž Cerar (Inactive)
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: