Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-10123

Stabilize ETransactionTest#testTimer() test

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.74.0.Final
    • 7.67.0.Final, 7.73.0.Final
    • Runtime Engine
    • None
    • False
    • None
    • False
    • NEW
    • NEW
    • +
    • Other
    • Reported by QE

      Sometimes the build gets stuck during the test which is most probably due to "slower" main thread executing listener.reset(1) after the timer has already executed which means the main thread is waiting for the timer execution, which already happened, so the build gets stuck and times out.

       

      Also, it seems that the current timer is quite short (500 ms), which can sometimes influence transaction handling and fail test, setting it to 1 second proves to be more stable.

            mmacik@redhat.com Marian Macik
            mmacik@redhat.com Marian Macik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: