Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-601

LocalJunitRunner shoudl not poll server forever

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.6.1.CP01, 4.8.0
    • 4.6.0
    • Testing
    • None

      The LocalJUnitRunner class is used to automate XTS unit testing. It sends a request to an HTTP servlet in a spawned AS and then polls the servlet waiting for the test results to come back. The poll loop waits for a result containing the keyword "finished". This means it will run forever if one of the unit tests hangs. The poll loop should have some way of timing out, e.g. by limiting the number of times it will loop.

            rhn-engineering-jhallida Jonathan Halliday
            rhn-engineering-adinn Andrew Dinn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: