From: Elliott Hughes Date: Tue, 30 Mar 2010 22:18:26 +0000 (-0700) Subject: Add an @KnownFailure annotation. X-Git-Tag: android-x86-2.2~44 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6e138297538fb632944ae1a81f346aec75137399;p=android-x86%2Fdalvik.git Add an @KnownFailure annotation. Bug: 2489458 Change-Id: Ib1121c6190b63baae8dbc6a8a598c3f5a510cfaf --- diff --git a/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ServerSocketChannelTest.java b/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ServerSocketChannelTest.java index b9b880dd2..7eb03b3c1 100644 --- a/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ServerSocketChannelTest.java +++ b/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ServerSocketChannelTest.java @@ -21,8 +21,8 @@ import dalvik.annotation.TestTargetNew; import dalvik.annotation.TestTargets; import dalvik.annotation.TestLevel; import dalvik.annotation.TestTargetClass; -import dalvik.annotation.AndroidOnly; import dalvik.annotation.BrokenTest; +import dalvik.annotation.KnownFailure; import java.io.IOException; import java.io.InputStream; @@ -724,7 +724,7 @@ public class ServerSocketChannelTest extends TestCase { method = "accept", args = {} ) - @AndroidOnly("seems to run on newer RI versions") + @KnownFailure("http://b/1952042 - issues with sockets forgetting their local and remote addresses") public void test_accept_Security() throws IOException { this.clientChannel.configureBlocking(true); this.serverChannel.configureBlocking(true);