harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ghar...@apache.org
Subject svn commit: r417372 - /incubator/harmony/enhanced/classlib/trunk/modules/nio/src/test/java/org/apache/harmony/tests/java/nio/channels/SelectionKeyTest.java
Date Tue, 27 Jun 2006 08:39:29 GMT
Author: gharley
Date: Tue Jun 27 01:39:29 2006
New Revision: 417372

URL: http://svn.apache.org/viewvc?rev=417372&view=rev
Log:
HARMONY 664 : SelectionKeyTest.test_readyOps() is unstable

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/nio/src/test/java/org/apache/harmony/tests/java/nio/channels/SelectionKeyTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/nio/src/test/java/org/apache/harmony/tests/java/nio/channels/SelectionKeyTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/nio/src/test/java/org/apache/harmony/tests/java/nio/channels/SelectionKeyTest.java?rev=417372&r1=417371&r2=417372&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/nio/src/test/java/org/apache/harmony/tests/java/nio/channels/SelectionKeyTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/nio/src/test/java/org/apache/harmony/tests/java/nio/channels/SelectionKeyTest.java
Tue Jun 27 01:39:29 2006
@@ -300,7 +300,7 @@
             sc.connect(new InetSocketAddress(LOCAL_ADDR, port));
             assertEquals(0, selectionKey.readyOps());
             assertFalse(selectionKey.isConnectable());
-            selector.selectNow();
+            selector.select();
             assertEquals(SelectionKey.OP_CONNECT, selectionKey.readyOps());
         } finally {
             ss.close();



Mime
View raw message