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

Stabilize a flaky test with SocketTimeoutException around KieServer

    XMLWordPrintable

Details

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

    Description

      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

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: