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

Clustering TS: Replace ContainerConfigurationBuilder#tearDownScript with SnapshotRestoreSetupTask

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 38.0.0.Final, 38.0.1.Final
    • Clustering, Test Suite
    • None
    • ---
    • ---

      Use SnapshotRestoreSetupTask- not to be confused with SnapshotServerSetupTask; SnapshotRestoreSetupTask that takes a snapshot when the test starts, and then restores it at the end.

      Downside: always needs a reload

      Upside: development speedup - significantly simpler server setup tasks, less LOC, changing default configuration does not need to be updated in tests which is easy to omit

      Alternatively, modify ManagementServerSetup task to automatically restore if there are no teardown steps?

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: