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

Re-throw all exceptions in ServerSetupTasks

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 5.1.0.Beta2
    • None
    • None

      In WFARQ-160 we started throwing assertion exceptions for setup tasks to allow for ignoring further configuration and invocation of test methods. We should re-throw other exceptions as well or at least re-throw assertion exceptions.

      When an exception is thrown, there should be an attempt to also invoke the tearDown() method of the ServerSetupTask. This may also end in an error and this error should simply be logged, unless it is an java.lang.AssertionError. This this case we should re-throw the error. This should likely also run each tearDown() method before throwing any other error.

            jperkins-rhn James Perkins
            jperkins-rhn James Perkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: