Author: lewismc
Date: Tue Jun 19 14:47:43 2012
New Revision: 1351730

URL: http://svn.apache.org/viewvc?rev=1351730&view=rev
Log:
TestProtocolHttpClient fails NUTCH-1399

Modified:
    nutch/branches/nutchgora/CHANGES.txt
    
nutch/branches/nutchgora/src/plugin/protocol-httpclient/src/test/org/apache/nutch/protocol/httpclient/TestProtocolHttpClient.java

Modified: nutch/branches/nutchgora/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/nutch/branches/nutchgora/CHANGES.txt?rev=1351730&r1=1351729&r2=1351730&view=diff
==============================================================================
--- nutch/branches/nutchgora/CHANGES.txt (original)
+++ nutch/branches/nutchgora/CHANGES.txt Tue Jun 19 14:47:43 2012
@@ -3,6 +3,8 @@ Nutch Change Log
 Release 2.0 (08/06/2012) ddmmyyy
 Full Jira report - 
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10680&version=12314893
 
+* NUTCH-1399 TestProtocolHttpClient fails (jnioche)
+
 * NUTCH-1404 Nutch script fails to find job file in deploy mode (sidabatra, 
jnioche)
 
 * NUTCH-1401 Upgrade to Hadoop 1.0.3  (jnioche)

Modified: 
nutch/branches/nutchgora/src/plugin/protocol-httpclient/src/test/org/apache/nutch/protocol/httpclient/TestProtocolHttpClient.java
URL: 
http://svn.apache.org/viewvc/nutch/branches/nutchgora/src/plugin/protocol-httpclient/src/test/org/apache/nutch/protocol/httpclient/TestProtocolHttpClient.java?rev=1351730&r1=1351729&r2=1351730&view=diff
==============================================================================
--- 
nutch/branches/nutchgora/src/plugin/protocol-httpclient/src/test/org/apache/nutch/protocol/httpclient/TestProtocolHttpClient.java
 (original)
+++ 
nutch/branches/nutchgora/src/plugin/protocol-httpclient/src/test/org/apache/nutch/protocol/httpclient/TestProtocolHttpClient.java
 Tue Jun 19 14:47:43 2012
@@ -83,6 +83,7 @@ public class TestProtocolHttpClient exte
                startServer(47500);
                fetchPage("/cookies.jsp", 200);
                fetchPage("/cookies.jsp?cookie=yes", 200);
+               tearDown();
        }
 
        /**
@@ -94,6 +95,7 @@ public class TestProtocolHttpClient exte
        public void testNoPreemptiveAuth() throws Exception {
                startServer(47500);
                fetchPage("/noauth.jsp", 200);
+               tearDown();
        }
 
        /**
@@ -105,6 +107,7 @@ public class TestProtocolHttpClient exte
        public void testDefaultCredentials() throws Exception {
                startServer(47502);
                fetchPage("/basic.jsp", 200);
+               tearDown();
        }
 
        /**
@@ -118,7 +121,7 @@ public class TestProtocolHttpClient exte
                fetchPage("/basic.jsp", 200);
                fetchPage("/basic.jsp?case=1", 200);
                fetchPage("/basic.jsp?case=2", 200);
-               server.start();
+               tearDown();
        }
 
        /**
@@ -134,6 +137,7 @@ public class TestProtocolHttpClient exte
                fetchPage("/basic.jsp", 200);
                fetchPage("/basic.jsp?case=1", 401);
                fetchPage("/basic.jsp?case=2", 401);
+               tearDown();
        }
 
        /**
@@ -145,6 +149,7 @@ public class TestProtocolHttpClient exte
        public void testDigestAuth() throws Exception {
                startServer(47500);
                fetchPage("/digest.jsp", 200);
+               tearDown();
        }
 
        /**
@@ -156,6 +161,7 @@ public class TestProtocolHttpClient exte
        public void testNtlmAuth() throws Exception {
                startServer(47501);
                fetchPage("/ntlm.jsp", 200);
+               tearDown();
        }
 
        /**


Reply via email to