Author: kkolinko
Date: Tue Dec  4 17:23:31 2012
New Revision: 1417044

URL: http://svn.apache.org/viewvc?rev=1417044&view=rev
Log:
Address Mark's comment to r1413324. Check that two messages were echoed back.

Modified:
    tomcat/trunk/test/org/apache/coyote/http11/upgrade/TestUpgrade.java

Modified: tomcat/trunk/test/org/apache/coyote/http11/upgrade/TestUpgrade.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/coyote/http11/upgrade/TestUpgrade.java?rev=1417044&r1=1417043&r2=1417044&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/coyote/http11/upgrade/TestUpgrade.java 
(original)
+++ tomcat/trunk/test/org/apache/coyote/http11/upgrade/TestUpgrade.java Tue Dec 
 4 17:23:31 2012
@@ -88,10 +88,11 @@ public class TestUpgrade extends TomcatB
         pw.println(MESSAGE);
         pw.flush();
 
-        String response = reader.readLine();
-
         // Note: BufferedReader.readLine() strips new lines
         //       ServletInputStream.readLine() does not strip new lines
+        String response = reader.readLine();
+        Assert.assertEquals(MESSAGE, response);
+        response = reader.readLine();
         Assert.assertEquals(MESSAGE, response);
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to