Author: veithen
Date: Mon May 25 21:58:42 2009
New Revision: 778520

URL: http://svn.apache.org/viewvc?rev=778520&view=rev
Log:
Testkit: Temporarily disabled the tunnel (which logs requests and responses) in 
the HTTP tests. It is suspected to cause random failures in the Synapse build.

Modified:
    
webservices/commons/trunk/modules/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/http/HttpChannel.java

Modified: 
webservices/commons/trunk/modules/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/http/HttpChannel.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/http/HttpChannel.java?rev=778520&r1=778519&r2=778520&view=diff
==============================================================================
--- 
webservices/commons/trunk/modules/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/http/HttpChannel.java
 (original)
+++ 
webservices/commons/trunk/modules/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/http/HttpChannel.java
 Mon May 25 21:58:42 2009
@@ -32,18 +32,18 @@
 
 public class HttpChannel implements AsyncChannel, RequestResponseChannel {
     private @Transient String serviceName;
-    private @Transient Tunnel tunnel;
+//    private @Transient Tunnel tunnel;
     
     @Setup @SuppressWarnings("unused")
     private void setUp() throws Exception {
         serviceName = "TestService-" + UUID.randomUUID();
-        tunnel = new Tunnel(new InetSocketAddress("127.0.0.1", 8280));
-        tunnel.start();
+//        tunnel = new Tunnel(new InetSocketAddress("127.0.0.1", 8280));
+//        tunnel.start();
     }
     
     @TearDown @SuppressWarnings("unused")
     private void tearDown() throws Exception {
-        tunnel.stop();
+//        tunnel.stop();
     }
 
     public String getServiceName() {
@@ -51,6 +51,6 @@
     }
 
     public EndpointReference getEndpointReference() throws Exception {
-        return new EndpointReference("http://localhost:"; + tunnel.getPort() + 
CONTEXT_PATH + "/" + serviceName);
+        return new EndpointReference("http://localhost:"; + /* tunnel.getPort() 
*/ 8280 + CONTEXT_PATH + "/" + serviceName);
     }
 }
\ No newline at end of file


Reply via email to