You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/01/30 19:01:59 UTC

svn commit: r1656077 - in /tomcat/trunk/test/org/apache/tomcat/websocket: TestConnectionLimit.java TesterConnectionLimit.java

Author: markt
Date: Fri Jan 30 18:01:59 2015
New Revision: 1656077

URL: http://svn.apache.org/r1656077
Log:
Refactor to make it easier to run unit tests in IDEs without running
this test.

Added:
    tomcat/trunk/test/org/apache/tomcat/websocket/TestConnectionLimit.java   (contents, props changed)
      - copied, changed from r1656068, tomcat/trunk/test/org/apache/tomcat/websocket/TesterConnectionLimit.java
Removed:
    tomcat/trunk/test/org/apache/tomcat/websocket/TesterConnectionLimit.java

Copied: tomcat/trunk/test/org/apache/tomcat/websocket/TestConnectionLimit.java (from r1656068, tomcat/trunk/test/org/apache/tomcat/websocket/TesterConnectionLimit.java)
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/websocket/TestConnectionLimit.java?p2=tomcat/trunk/test/org/apache/tomcat/websocket/TestConnectionLimit.java&p1=tomcat/trunk/test/org/apache/tomcat/websocket/TesterConnectionLimit.java&r1=1656068&r2=1656077&rev=1656077&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/tomcat/websocket/TesterConnectionLimit.java (original)
+++ tomcat/trunk/test/org/apache/tomcat/websocket/TestConnectionLimit.java Fri Jan 30 18:01:59 2015
@@ -25,6 +25,7 @@ import javax.websocket.ContainerProvider
 import javax.websocket.DeploymentException;
 import javax.websocket.WebSocketContainer;
 
+import org.junit.Ignore;
 import org.junit.Test;
 
 import org.apache.catalina.Context;
@@ -34,13 +35,14 @@ import org.apache.catalina.startup.Tomca
 import org.apache.tomcat.websocket.TesterMessageCountClient.TesterProgrammaticEndpoint;
 
 
-public class TesterConnectionLimit extends TomcatBaseTest{
+public class TestConnectionLimit extends TomcatBaseTest{
 
     /*
      * Simple test to see how many outgoing connections can be created on a
      * single machine.
      */
     @Test
+    @Ignore // Not for use in normal unit test runs
     public void testSingleMachine() throws Exception {
         Tomcat tomcat = getTomcatInstance();
         // No file system docBase required

Propchange: tomcat/trunk/test/org/apache/tomcat/websocket/TestConnectionLimit.java
------------------------------------------------------------------------------
    svn:eol-style = native



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