Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2332

ReloadRedirectTestCase stuck on HP-UX

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Beta7
    • 3.0.0.Beta4
    • Test Suite
    • None

      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:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: