This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit bc3e313b6d48987cae4dde690f2d7953d41d7984 Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Dec 4 11:39:21 2023 +0000 Correct test logic --- test/org/apache/catalina/connector/TestClientReadTimeout.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/org/apache/catalina/connector/TestClientReadTimeout.java b/test/org/apache/catalina/connector/TestClientReadTimeout.java index ff535a032e..59beec0bd3 100644 --- a/test/org/apache/catalina/connector/TestClientReadTimeout.java +++ b/test/org/apache/catalina/connector/TestClientReadTimeout.java @@ -70,7 +70,7 @@ public class TestClientReadTimeout extends TomcatBaseTest { InputStream is = socket.getInputStream(); BufferedReader reader = new BufferedReader(new InputStreamReader(is, StandardCharsets.UTF_8)); String opening = reader.readLine(); - Assert.assertNotNull(opening, "Didn't get back a response"); + Assert.assertNotNull("Didn't get back a response", opening); StringBuilder sb = new StringBuilder(opening); try { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org