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

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

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • Test Suite
    • None

      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.

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

              Created:
              Updated:
              Resolved: