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

TX TestTransactions::test_rollback failed with un-expect TX_FAIL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.0.0.M4
    • None
    • BlackTie
    • None

    Description

       [exec] 1) test: TestTransactions::test_rollback (F) line: 288 /home/hudson/workspace/blacktie-linux32/tx/src/test/cpp/TestTransactions.cxx
           [exec] equality assertion failed
           [exec] - Expected: -2
           [exec] - Actual  : -7
      

      It looks like the TM server returns code 412 and no content. so tx_commit() returns TX_FAIL but expects TX_ROLLBACK.

      2013-06-07 08:34:08,732 [0x57fd3f0] DEBUG (HttpClient               :162 ) - receive 79 bytes
      2013-06-07 08:34:08,734 [0x57fd3f0] DEBUG (HttpClient               :165 ) - HTTP/1.1 412 Precondition Failed
      Connection: keep-alive
      Content-Length: 0
      
      
      2013-06-07 08:34:08,736 [0x57fd3f0] DEBUG (HttpClient               :194 ) - HTTP/1.1 412 Precondition Failed
      2013-06-07 08:34:08,738 [0x57fd3f0] DEBUG (HttpClient               :194 ) - Connection: keep-alive
      2013-06-07 08:34:08,739 [0x57fd3f0] DEBUG (HttpClient               :194 ) - Content-Length: 0
      2013-06-07 08:34:08,741 [0x57fd3f0] DEBUG (HttpClient               :220 ) - status_code:412
      2013-06-07 08:34:08,743 [0x57fd3f0] DEBUG (TxHttpControl            :299 ) - do_end: HTTP status: 412 resp: 
      2013-06-07 08:34:08,745 [0x57fd3f0] DEBUG (TxControl                :66  ) - end: outcome: -7
      

      Attachments

        Issue Links

          Activity

            People

              zfeng@redhat.com Zheng Feng
              zfeng@redhat.com Zheng Feng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Remaining Estimate - 2 days
                  2d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified