summaryrefslogtreecommitdiffstats
path: root/nio/src
diff options
context:
space:
mode:
authorJorg Pleumann <nobody@android.com>2009-05-11 10:10:42 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-05-11 10:10:42 -0700
commit5f5efac11611ee8d68d774ca94b49e540de44d21 (patch)
tree45d925c129afce3b3aabc53157eb98470bcc807b /nio/src
parent7670301ac11ebcfb9a188d02a7f7d63ff93a136a (diff)
downloadlibcore-5f5efac11611ee8d68d774ca94b49e540de44d21.zip
libcore-5f5efac11611ee8d68d774ca94b49e540de44d21.tar.gz
libcore-5f5efac11611ee8d68d774ca94b49e540de44d21.tar.bz2
AI 148670: More tests that need to be marked broken, since
they behave differently in CTS and plain VM. Hopefully the last ones... BUG=1285921 Automated import of CL 148670
Diffstat (limited to 'nio/src')
-rwxr-xr-xnio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/SocketChannelTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/SocketChannelTest.java b/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/SocketChannelTest.java
index 069623d..b7a1012 100755
--- a/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/SocketChannelTest.java
+++ b/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/SocketChannelTest.java
@@ -22,6 +22,7 @@ import dalvik.annotation.TestTargetNew;
import dalvik.annotation.TestTargetClass;
import dalvik.annotation.TestLevel;
import dalvik.annotation.AndroidOnly;
+import dalvik.annotation.BrokenTest;
import java.io.IOException;
import java.io.InputStream;
@@ -2669,6 +2670,7 @@ public class SocketChannelTest extends TestCase {
method = "write",
args = {java.nio.ByteBuffer.class}
)
+ @BrokenTest("Occasionally fail in CTS, but works in CoreTestRunner")
public void test_writeLjava_nio_ByteBuffer_Nonblocking_HugeData() throws IOException {
// initialize write content
ByteBuffer writeContent = ByteBuffer.allocate(CAPACITY_HUGE);