-
Task
-
Resolution: Unresolved
-
Major
-
None
-
None
-
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.