[jbossts-issues] [JBoss JIRA] Created: (JBTM-601) LocalJunitRunner shoudl not poll server forever

Andrew Dinn (JIRA) jira-events at lists.jboss.org
Wed Aug 5 10:03:43 EDT 2009


LocalJunitRunner shoudl not poll server forever
-----------------------------------------------

                 Key: JBTM-601
                 URL: https://jira.jboss.org/jira/browse/JBTM-601
             Project: JBoss Transaction Manager
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Testing
    Affects Versions: 4.6.0
            Reporter: Andrew Dinn
            Assignee: Andrew Dinn
             Fix For: 4.6.1.CP01, 4.8.0


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossts-issues mailing list