harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r915503 - /harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/PipedInputStreamTest.java
Date Tue, 23 Feb 2010 20:29:05 GMT
Author: hindessm
Date: Tue Feb 23 20:29:04 2010
New Revision: 915503

URL: http://svn.apache.org/viewvc?rev=915503&view=rev
Log:
I think this is what the test is intending and it does make the test
more stable.  However, it is still not stable.  I see it fail both
with failures of the isAlive() assert (particularly on the RI) and
with broken pipe exceptions.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/PipedInputStreamTest.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/PipedInputStreamTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/PipedInputStreamTest.java?rev=915503&r1=915502&r2=915503&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/PipedInputStreamTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/PipedInputStreamTest.java
Tue Feb 23 20:29:04 2010
@@ -88,7 +88,7 @@
             assertTrue(t.isAlive());
             while (true) {
                 pis.read();
-                t.interrupted();
+                t.interrupt();
             }
         } catch (IOException e) {
             if (!e.getMessage().contains("Write end dead")) {



Mime
View raw message