[jboss-jira] [JBoss JIRA] (WFCORE-3373) Add an HC reload API to DomainLifecycleUtil

Brian Stansberry (JIRA) issues at jboss.org
Thu Oct 19 11:39:00 EDT 2017


Brian Stansberry created WFCORE-3373:
----------------------------------------

             Summary: Add an HC reload API to DomainLifecycleUtil
                 Key: WFCORE-3373
                 URL: https://issues.jboss.org/browse/WFCORE-3373
             Project: WildFly Core
          Issue Type: Enhancement
          Components: Domain Management, Test Suite
            Reporter: Brian Stansberry
            Priority: Minor


DomainLifecycleUtil includes a number of methods that when combined are the right way to do an HC reload in tests. Effect is we have a number of spots in the domain testsuite where these are being combined. Task here is to work out a useful overall method that can handle the bulk of these cases in 1 go.

Methods are:

executeAwaitConnectionClosed
awaitHostController
awaitServers

A vague thought is to add a "reload" method with a few params that can configure the reload op (admin-only, restart-servers) and determine whether and how long the method should wait for HC reload and whether and how the method should wait for server reload. Use Boolean and Long for params instead of primitives, with null meaning ignore that bit.

See the ServerReload class which has similar utils for standalone servers.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list