Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9150

ReloadRedirectTestCase stuck on HP-UX

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR14
    • 7.1.0.DR12
    • Test Suite
    • None
    • Not Required

      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:

          public void destroyProcess() {
              cliProcess.destroy();
          }
      

      to

          public void destroyProcess() {
              cliProcess.destroyForcibly();
          }
      

      or add cliProc.ctrlCAndWaitForClose(); into finally block just before destroying the process in test case.
      ReloadRedirectTestCase#testReloadwithRedirect()

          finally {
              cliProc.ctrlCAndWaitForClose();
              cliProc.destroyProcess();
          }
      

      see WFCORE-2216 for test log and thread dump

      I'll send a PR for the second option.

              pkremens@redhat.com Petr Kremensky (Inactive)
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: