Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8543

Connection Timeout Agent: IT fails due to different error message

    XMLWordPrintableJSON

    Details

      Description

      when i run the unit tests for
      https://github.com/apache/sling-org-apache-sling-connection-timeout-agent

      one of them fails:

      119657 [main] INFO org.eclipse.jetty.server.AbstractConnector - Stopped ServerConnector@55b699ef{HTTP/1.1,[http/1.1]}{0.0.0.0:0}
      [ERROR] Tests run: 20, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 119.63 s <<< FAILURE! - in org.apache.sling.cta.impl.AgentIT
      [ERROR] readTimeout{ClientType, TestTimeouts, MisbehavingServerControl}[7]  Time elapsed: 10.977 s  <<< FAILURE!
      org.opentest4j.AssertionFailedError: expected: <timeout> but was: <Read timed out>
              at org.apache.sling.cta.impl.AgentIT.readTimeout(AgentIT.java:153)
      
      [INFO]
      [INFO] Results:
      [INFO]
      [ERROR] Failures:
      [ERROR]   AgentIT.readTimeout:153 expected: <timeout> but was: <Read timed out>
      [INFO]
      [ERROR] Tests run: 20, Failures: 1, Errors: 0, Skipped: 0
      

      environment:

      Maven home: C:\java\apache-maven-3.5.2
      Java version: 1.8.0_162, vendor: Oracle Corporation
      Java home: C:\java\jdk1.8.0_162\jre
      Default locale: de_DE, platform encoding: Cp1252
      OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sseifert Stefan Seifert
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: