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

TCK timeout test failure fix

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.12.2.Final
    • 5.12.1.Final
    • LRA
    • None
    • Hide

      Run the TCK on a machine with enough resources.

      Show
      Run the TCK on a machine with enough resources.

      LRA timeouts are managed by starting a timer and when it fires the LRA is cancelled.

      But on machines with insufficient resources, processing eligible LRAs in the timeout queue can be tardy. If such an eligible LRA is asked to close before the timeout queue is processed then the LRA ends up closing instead of cancelling. Therefore if a close request arrives we should be checking if the deadline has passed and if so then we should transition the LRA to the cancelling state (the current code does not check if the deadline has been reached). 

              rhn-engineering-mmusgrov Michael Musgrove
              rhn-engineering-mmusgrov Michael Musgrove
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: