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

XTS crash recovery tests hang periodically

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.16.2
    • Fix Version/s: 4.17.0
    • Component/s: Testing, XTS
    • Labels:
      None

      Description

      I ran the crash recovery tests 3 times, they all hung at different times. It wasn't clear to me what the server was doing when it hung. For example, it wasn't being polled for a crash, or re-attempting recovery in a cycle. The problem can be recreated by running all the tests in one go:

      cd ./XTS/sar/crash-recovery-tests
      mvn test
      

      I tried running each JUnit test one at a time, and none of them hung. This can be done as follows:

      for i in $(ls src/test/java/com/arjuna/qa/junit/Test*); do TEST=$(echo $i | awk -F '.' '{ print $1 }' | sed 's/\//\./g' | cut -c 15-); mvn test -Dtest=$TEST; done
      cat target/surefire-reports/*.txt | grep "Tests run"
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                zhfeng Amos Feng
                Reporter:
                paul.robinson Paul Robinson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: