geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r580958 - /geronimo/server/trunk/testsuite/web-testsuite/test-jetty/src/test/java/org/apache/geronimo/testsuite/jetty/TestJetty.java
Date Mon, 01 Oct 2007 13:55:56 GMT
Author: gawor
Date: Mon Oct  1 06:55:55 2007
New Revision: 580958

URL: http://svn.apache.org/viewvc?rev=580958&view=rev
Log:
set read/connect timeout

Modified:
    geronimo/server/trunk/testsuite/web-testsuite/test-jetty/src/test/java/org/apache/geronimo/testsuite/jetty/TestJetty.java

Modified: geronimo/server/trunk/testsuite/web-testsuite/test-jetty/src/test/java/org/apache/geronimo/testsuite/jetty/TestJetty.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/web-testsuite/test-jetty/src/test/java/org/apache/geronimo/testsuite/jetty/TestJetty.java?rev=580958&r1=580957&r2=580958&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/web-testsuite/test-jetty/src/test/java/org/apache/geronimo/testsuite/jetty/TestJetty.java
(original)
+++ geronimo/server/trunk/testsuite/web-testsuite/test-jetty/src/test/java/org/apache/geronimo/testsuite/jetty/TestJetty.java
Mon Oct  1 06:55:55 2007
@@ -60,7 +60,9 @@
         }
     }
 
-    private String doGET(HttpURLConnection conn, String host) throws IOException {      
 
+    private String doGET(HttpURLConnection conn, String host) throws IOException {    
+        conn.setConnectTimeout(1000 * 30);
+        conn.setReadTimeout(1000 * 30);
         conn.setDoOutput(true);
         conn.setUseCaches(false);
         if (host != null) {



Mime
View raw message