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

Arquillian server startup timeout should be configurable in tests

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 5.3.2.Final
    • 5.2.14.Final
    • Testing
    • 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.

      Attachments

        Activity

          People

            ochaloup@redhat.com Ondrej Chaloupka (Inactive)
            ochaloup@redhat.com Ondrej Chaloupka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: