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

XTS crash recovery tests hang periodically

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.17.0
    • 4.16.2
    • Testing, XTS
    • 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"
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: