Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901874

Javatest waits for full timeout length when a command throws exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • jt5.0
    • jt5.0
    • tools
    • None
    • b38
    • Verified

      If a command's run() method throws an exception during its execution then it can be immediately finished with error status. However, Javatest doesn't catch the exceptions in the command thread, and keeps waiting for the failed command to finish, eventually exiting due to timeout.
      This greatly impacts performance. E.g. if a test failed to start for some reason, it will take maximal time (timeout length) instead of failing immediately.

            afedorch Alexey Fedorchenko (Inactive)
            slukyanov Stanislav Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: