Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2633

Arquillian server startup timeout should be configurable in tests

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.2.14.Final
    • Fix Version/s: 5.3.2.Final
    • Component/s: Testing
    • Labels:
      None

      Description

      Arquillian configuration for tests which lays in arquillian.xml currently does not permit changing timeou for server startup. Default timeout for server startup is 60 seconds. If server is not up and running till that time Arquillian stops the serve process and LifecycleException is thrown informing that server was not started.

      If tests (like txbridge or xts) are run with container which uses jdbc object store and connection to database is slow. It could happen that 60 seconds is not enough for serve being started and tests start to fail. The easy solution is to wait a bit more for server would be started.

      Then add configuration property startupTimeoutInSeconds to arquillian.xml files which are configured to start jboss/wildfly server and let user to configure the option.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ochaloup Ondrej Chaloupka
                Reporter:
                ochaloup Ondrej Chaloupka
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: