package tests.api.java.lang;
+import dalvik.annotation.BrokenTest;
import dalvik.annotation.TestLevel;
import dalvik.annotation.TestTargetNew;
import dalvik.annotation.TestTargetClass;
method = "waitFor",
args = {}
)
+ @BrokenTest("Sporadic failures in CTS, but not in CoreTestRunner")
public void testSleep() throws IOException {
String[] commands = { "sleep", "1" };
process = Runtime.getRuntime().exec(commands, null, null);
package tests.api.java.lang;
+import dalvik.annotation.BrokenTest;
import dalvik.annotation.TestLevel;
import dalvik.annotation.TestTargetNew;
import dalvik.annotation.TestTargetClass;
method = "destroy",
args = {}
)
+ @BrokenTest("Sporadic timeouts in CTS, but not in CoreTestRunner")
public void test_destroy() {
String[] commands = { "ls"};
try {
import dalvik.annotation.TestLevel;
import dalvik.annotation.TestTargetClass;
import dalvik.annotation.AndroidOnly;
+import dalvik.annotation.BrokenTest;
import java.io.IOException;
import java.io.InputStream;
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);
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);
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);
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];