Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-7137

DomainTestSuite should validate HostController state after test classes complete

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Management, Test Suite
    • None

      The test I added for WFCORE-7087 passes by itself but fails when the entire testsuite/domain runs. This is because in @AfterClass it reloads an HC and waits up to 120 seconds for it to return to 'running' state, but when the entire testsuite/domain runs the HC is in restart-required at the start. So a reload doesn't bring it to 'running'.

      To guard against this, add utilities to DomainTestSupport to assert the state of the supported HCs, and have DomainTestSuite use them to validate the domain state when stopSupport is called.

      Once the utility is in place other suites besides DomainTestSuite could do the same but I'll just do the one for now.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: