Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-2183

Websphere container waits for entire timeout if application failed to deploy

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • None
    • 1.0.0.CR1
    • WebSphere Containers
    • None

      Issue Overview

      Currently, running the CDI TCK against Liberty takes about 3 hours and 20 minutes to complete. It looks like the container waits for the application MBean to reach the STARTED state and only gives up after the timeout elapses.

      The CDI TCK uses many broken applications to test that they do not deploy, so waiting the entire timeout for each test is not ideal. However, with the changes in this pull request, the CDI TCK now runs in approximately 50 minutes now.

      Expected Behaviour

      Do not wait for timeout for application that failed to deploy.

      Current Behaviour

      Container waits for a timeout to elapse before checking the logs to see if the application failed due to a deployment exception causing tests to take much longer to finish.

      Steps To Reproduce

      1. Deploy a CDI application that fails to start up due to a CDI deployment exception.

              gpoul_jira Gerhard Poul (Inactive)
              hwibell_jira Hank Ibell (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: