summaryrefslogtreecommitdiffstats
path: root/nio/src
diff options
context:
space:
mode:
authorJorg Pleumann <nobody@android.com>2009-05-07 01:36:27 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-05-07 01:36:27 -0700
commite9374edca0486572248b25a144bcb565a6b8e5c1 (patch)
tree48b3b3bb601469c2b35d6a26684853c8fbcb76b2 /nio/src
parent345d1fc3b8e10e6fb2f3161c37b98e15807fae5f (diff)
parentb441085db130d5bee561b8baec829bee50068b27 (diff)
downloadlibcore-e9374edca0486572248b25a144bcb565a6b8e5c1.zip
libcore-e9374edca0486572248b25a144bcb565a6b8e5c1.tar.gz
libcore-e9374edca0486572248b25a144bcb565a6b8e5c1.tar.bz2
am 2f563a4: AI 148431: Marking as broken a couple of tests
Merge commit '2f563a4590c4a0e54177906c47d50f4ef454eba5' into donut * commit '2f563a4590c4a0e54177906c47d50f4ef454eba5': AI 148431: Marking as broken a couple of tests
Diffstat (limited to 'nio/src')
-rw-r--r--nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ServerSocketChannelTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ServerSocketChannelTest.java b/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ServerSocketChannelTest.java
index ad1e78f..b9b880d 100644
--- a/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ServerSocketChannelTest.java
+++ b/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ServerSocketChannelTest.java
@@ -22,6 +22,7 @@ import dalvik.annotation.TestTargets;
import dalvik.annotation.TestLevel;
import dalvik.annotation.TestTargetClass;
import dalvik.annotation.AndroidOnly;
+import dalvik.annotation.BrokenTest;
import java.io.IOException;
import java.io.InputStream;
@@ -573,6 +574,7 @@ public class ServerSocketChannelTest extends TestCase {
method = "accept",
args = {}
)
+ @BrokenTest("Sporadic timeouts in CTS, but not in CoreTestRunner")
public void test_accept_socket_read_Block_RWLargeData() throws IOException {
serverChannel.socket().bind(localAddr1);
ByteBuffer buf = ByteBuffer.allocate(CAPACITY_64KB);
@@ -597,6 +599,7 @@ public class ServerSocketChannelTest extends TestCase {
method = "accept",
args = {}
)
+ @BrokenTest("Sporadic timeouts in CTS, but not in CoreTestRunner")
public void test_accept_socket_read_NonBlock_RWLargeData()
throws Exception {
serverChannel.configureBlocking(false);
@@ -623,6 +626,7 @@ public class ServerSocketChannelTest extends TestCase {
method = "accept",
args = {}
)
+ @BrokenTest("Sporadic timeouts in CTS, but not in CoreTestRunner")
public void test_accept_socket_write_NonBlock_RWLargeData()
throws Exception {
serverChannel.configureBlocking(false);
@@ -648,6 +652,7 @@ public class ServerSocketChannelTest extends TestCase {
method = "accept",
args = {}
)
+ @BrokenTest("Sporadic timeouts in CTS, but not in CoreTestRunner")
public void test_accept_socket_write_Block_RWLargeData() throws Exception {
serverChannel.socket().bind(localAddr1);
byte[] writeContent = new byte[CAPACITY_64KB];