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

@RestoreASConfigAfterTest to make a snapshot before test and reload it after.

    XMLWordPrintable

Details

    • Feature Request
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Out of Date
    • None
    • None
    • Test Suite
    • None

    Description

      Having a possibility to restore server configuration after the test is run, or similar principle, would be very cool.

      For example, there are some tests which change datasource config quite dramatically.
      And getting it back to the original state afterwards requires a lot of coding.

      So instead, the test would have @RestoreASConfigAfterTest
      and Arq would re-load a snapshot it made before the test was run.

      Attachments

        Issue Links

          Activity

            People

              aslak@redhat.com Aslak Knutsen
              ozizka_jira Ondrej Zizka (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: