[jboss-jira] [JBoss JIRA] (WFCORE-2332) ReloadRedirectTestCase stuck on HP-UX
Petr Kremensky (JIRA)
issues at jboss.org
Mon Feb 27 07:40:00 EST 2017
[ https://issues.jboss.org/browse/WFCORE-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Petr Kremensky moved JBEAP-9151 to WFCORE-2332:
-----------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-2332 (was: JBEAP-9151)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Test Suite
(was: Test Suite)
Affects Version/s: 3.0.0.Beta4
(was: 7.1.0.DR12)
> ReloadRedirectTestCase stuck on HP-UX
> -------------------------------------
>
> Key: WFCORE-2332
> URL: https://issues.jboss.org/browse/WFCORE-2332
> Project: WildFly Core
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 3.0.0.Beta4
> Reporter: Petr Kremensky
> Assignee: Petr Kremensky
>
> org.jboss.as.test.manualmode.management.cli.ReloadRedirectTestCase from Wildfly core manual mode module stuck on HP-UX
> {{destroy()}} is unable to kill the process waiting for the user input (accept certificate dialogue). We could either destroy the process forcibly by updating CliProcessWrapper:
> {code:java}
> public void destroyProcess() {
> cliProcess.destroy();
> }
> {code}
> to
> {code:java}
> public void destroyProcess() {
> cliProcess.destroyForcibly();
> }
> {code}
> or add {{cliProc.ctrlCAndWaitForClose();}} into finally block just before destroying the process in test case.
> ReloadRedirectTestCase#testReloadwithRedirect()
> {code:java}
> finally {
> cliProc.ctrlCAndWaitForClose();
> cliProc.destroyProcess();
> }
> {code}
> see WFCORE-2216 for test log and thread dump
> I'll send a PR for the second option.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list