Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WFCORE-4381] Don't stop the DomainTestSupport before relaunching the… #3709

Merged
merged 1 commit into from
Mar 26, 2019

Conversation

bstansberry
Copy link
Contributor

@bstansberry bstansberry commented Mar 23, 2019

… HCs. Just stop the HCs.

Stopping the DomainTestSupport also closes down the shared client side Endpoint, and the DomainLifecycleUtil objects use those. Closing it down is what led to the need for unusual start handling after the DomainTestSupport.stop() call.

I also clean out the try with resources handling with the client. The client from DomainLifecycleUtil can now be used and doesn't have to be closed by the test method.

https://issues.jboss.org/browse/WFCORE-4381

https://github.com/wildfly/wildfly-core/pull/3709/files?w=1 is a good way to look at this as there's a big whitespace diff due to removing try blocks.

… HCs. Just stop the HCs.

Stopping the DomainTestSupport also closes down the shared client side Endpoint, and the DomainLifecycleUtil objects use those. Closing it down is what led to the need for unusual start handling after the DomainTestSupport.stop() call.

I also clean out the try with resources handling with the client. The client from DomainLifecycleUtil can now be used and doesn't have to be closed by the test method.
@jmesnil jmesnil added the ready-for-merge This PR is ready to be merged and fulfills all requirements label Mar 25, 2019
@jmesnil jmesnil merged commit 21633c4 into wildfly:master Mar 26, 2019
@bstansberry bstansberry deleted the WFCORE-4381 branch March 26, 2019 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge This PR is ready to be merged and fulfills all requirements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants