Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1439

ServerSetupObserver leaks changes if exception is thrown

XMLWordPrintable

      If class used as @ServerSetup throws exception from callback, ServerSetupObserver purges all tasks that already have been executed. This means that all changes that have been introduced to AS model will remain( iirc persisted as part of config used my arquillian).
      Hence other tests may fail due to that.

      Ive talked with Stuart and according to his statement @ServerSetup class must not throw exception from callbacks.

      ServerSetupObserver should cleanup in a more graceful manner.

              rhn-cservice-bbaranow Bartosz Baranowski
              rhn-cservice-bbaranow Bartosz Baranowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: