summaryrefslogtreecommitdiffstats
path: root/nio
diff options
context:
space:
mode:
authorJorg Pleumann <nobody@android.com>2009-05-07 01:35:52 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-05-07 01:35:52 -0700
commitb441085db130d5bee561b8baec829bee50068b27 (patch)
tree7544358e98199e5d96a9afb0417fcf69de6b111c /nio
parent998421c91bc71aa3677dd91ac4a6b106f4bd297b (diff)
downloadlibcore-b441085db130d5bee561b8baec829bee50068b27.zip
libcore-b441085db130d5bee561b8baec829bee50068b27.tar.gz
libcore-b441085db130d5bee561b8baec829bee50068b27.tar.bz2
AI 148431: Marking as broken a couple of tests
that tend to fail in the CTS host. BUG=1285921 Automated import of CL 148431
Diffstat (limited to 'nio')
-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];