harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r484745 - /harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/http/HttpURLConnectionTest.java
Date Fri, 08 Dec 2006 20:26:55 GMT
Author: ayza
Date: Fri Dec  8 12:26:54 2006
New Revision: 484745

URL: http://svn.apache.org/viewvc?view=rev&rev=484745
Log:
Applying patch from HARMONY-2353 ([classlib][luni] org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testGetOutputStream()
intermittently fails)

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/http/HttpURLConnectionTest.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/http/HttpURLConnectionTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/http/HttpURLConnectionTest.java?view=diff&rev=484745&r1=484744&r2=484745
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/http/HttpURLConnectionTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/http/HttpURLConnectionTest.java
Fri Dec  8 12:26:54 2006
@@ -164,7 +164,9 @@
             new MockServer("ServerSocket for HttpURLConnectionTest");
         httpServer.start();
         synchronized(bound) {
-            bound.wait(5000);
+            if (!httpServer.started) {
+                bound.wait(5000);
+            }
         }
         HttpURLConnection c = (HttpURLConnection)
             new URL("http://127.0.0.1:" + httpServer.port()).openConnection();



Mime
View raw message