Author: markt
Date: Thu Feb  5 14:46:36 2015
New Revision: 1657592

URL: http://svn.apache.org/r1657592
Log:
Use standard logging

Modified:
    tomcat/trunk/test/org/apache/catalina/connector/TestResponsePerformance.java

Modified: 
tomcat/trunk/test/org/apache/catalina/connector/TestResponsePerformance.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/connector/TestResponsePerformance.java?rev=1657592&r1=1657591&r2=1657592&view=diff
==============================================================================
--- 
tomcat/trunk/test/org/apache/catalina/connector/TestResponsePerformance.java 
(original)
+++ 
tomcat/trunk/test/org/apache/catalina/connector/TestResponsePerformance.java 
Thu Feb  5 14:46:36 2015
@@ -18,10 +18,12 @@ package org.apache.catalina.connector;
 
 import java.net.URI;
 
-import static org.junit.Assert.assertTrue;
+import org.junit.Assert;
 import org.junit.Test;
 
-public class TestResponsePerformance {
+import org.apache.catalina.startup.LoggingBaseTest;
+
+public class TestResponsePerformance extends LoggingBaseTest {
 
     private final int ITERATIONS = 100000;
 
@@ -46,13 +48,13 @@ public class TestResponsePerformance {
         while (count < attempts && !homebrewWin) {
             long homebrew = doHomebrew(resp);
             long uri = doUri();
-            System.out.println("Current 'home-brew': " + homebrew + "ms, Using 
URI: " + uri + "ms");
+            log.info("Current 'home-brew': " + homebrew + "ms, Using URI: " + 
uri + "ms");
             if (homebrew < uri) {
                 homebrewWin = true;
             }
             count++;
         }
-        assertTrue(homebrewWin);
+        Assert.assertTrue(homebrewWin);
     }
 
 



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

Reply via email to