marsxpl commented on code in PR #14:
URL: 
https://github.com/apache/sling-org-apache-sling-connection-timeout-agent/pull/14#discussion_r2375407642


##########
src/test/java/org/apache/sling/cta/impl/AgentIT.java:
##########
@@ -151,13 +149,13 @@ public void readTimeout(ClientType clientType, 
TestTimeouts timeouts, Misbehavin
         RecordedThrowable error = 
assertTimeout(ofSeconds(EXECUTION_TIMEOUT_SECONDS),
            () -> runTest("http://127.0.0.1:"; + server.getLocalPort(), 
clientType, timeouts, false));
 
-        assertEquals(SocketTimeoutException.class.getName(), error.className);
+        assertEquals(ed.readTimeoutClass.getName(), error.className);
         assertTrue(error.message.matches(ed.readTimeoutRegex),
             "Actual message " + error.message + " did not match regex " + 
ed.readTimeoutRegex);
     }
     
     @ParameterizedTest
-    @EnumSource(HttpClientLauncher.ClientType.class)
+    @EnumSource(ClientType.class)

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to