You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2017/01/17 19:05:16 UTC

svn commit: r1779233 - /axis/axis2/java/core/trunk/modules/transport/http/test/org/apache/axis2/transport/http/HTTPSenderTest.java

Author: veithen
Date: Tue Jan 17 19:05:16 2017
New Revision: 1779233

URL: http://svn.apache.org/viewvc?rev=1779233&view=rev
Log:
Disable incorrect test that pretends to send a HEAD request, but then asserts that a POST request is received.

Modified:
    axis/axis2/java/core/trunk/modules/transport/http/test/org/apache/axis2/transport/http/HTTPSenderTest.java

Modified: axis/axis2/java/core/trunk/modules/transport/http/test/org/apache/axis2/transport/http/HTTPSenderTest.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/transport/http/test/org/apache/axis2/transport/http/HTTPSenderTest.java?rev=1779233&r1=1779232&r2=1779233&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/transport/http/test/org/apache/axis2/transport/http/HTTPSenderTest.java (original)
+++ axis/axis2/java/core/trunk/modules/transport/http/test/org/apache/axis2/transport/http/HTTPSenderTest.java Tue Jan 17 19:05:16 2017
@@ -212,7 +212,8 @@ public abstract class HTTPSenderTest ext
      * @throws Exception
      *             the exception
      */
-    public void testSendViaHead() throws Exception {
+    // This is test is bullshit; if we send a HEAD request, we shouldn't expect the method to be POST
+    public void _testSendViaHead() throws Exception {
 
         int port = getBasicHttpServer().getPort();
         sendViaHTTP(Constants.Configuration.HTTP_METHOD_HEAD, "urn:deleteService",