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

Stabilize a flaky test with SocketTimeoutException around KieServer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 7.52.0.Final
    • KieServer, SpringBoot
    • False
    • False
    • NEW
    • NEW
    • Undefined

      From time to time we get below error when executing "testExtraEndpoint" from "KieServerWithExtraEndpointTest" test class.

       

      java.net.SocketTimeoutException: Read timed out

       

      This is likely due to the environment where tests are being executed and their slowness, as current test is setting a timeout up to 1 sec.] We should increase, this timeout allowing up to 3/5 secs before raising a timeout socket exception.

      Attached log of this test can be found here test.log

       

        1. test.log
          15 kB
          Antonio Fernandez Alhambra

            antferna Antonio Fernandez Alhambra (Inactive)
            antferna Antonio Fernandez Alhambra (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: