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-2332] ReloadRedirectTestCase stuck on HP-UX #2210

Merged
merged 1 commit into from Feb 28, 2017

Conversation

pkremens
Copy link
Contributor

cliProcess.destroy() does stuck on HP-UX if cliProcess is waiting for input from user (accept certificate dialogue)

https://issues.jboss.org/browse/WFCORE-2332 - ReloadRedirectTestCase stuck on HP-UX

@bstansberry
Copy link
Contributor

@jfdenise please approve

@@ -226,6 +226,7 @@ public void testReloadwithRedirect() throws Exception {
promptFound = cliProc.pushLineAndWaitForResults("reload", "Accept certificate");
assertTrue("No certificate prompt " + cliProc.getOutput(), promptFound);
} finally {
cliProc.ctrlCAndWaitForClose();
cliProc.destroyProcess();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pkremens , not sure you need to call destroyProcess once CtrlC has been sent. ctrlCAndWaitForClose() should be enough.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jfdenise good point, I'll try on Windows and some exotic platforms we certify to be sure, and update the PR in case CtrlC is enough. Thank you.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that on Solaris10 sparc that cliProc is not completely destroyed using just cliProc.destroyProcess(); - test pass, maven execution successfully ends, but a running cli process remains. Using just CtrlC works fine.

cliProcess.destroy() does stuck on HP-UX if cliProcess is
waiting for input from user (accept certificate dialogue)
@bstansberry bstansberry added the ready-for-merge This PR is ready to be merged and fulfills all requirements label Feb 28, 2017
@bstansberry bstansberry merged commit 1efe421 into wildfly:master Feb 28, 2017
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
3 participants