From 5bfe7124f6ea01fa72d01da65c73239e40be4348 Mon Sep 17 00:00:00 2001 From: jwilson Date: Thu, 31 Jan 2013 00:10:25 -0500 Subject: [PATCH] Mark a racy test with @Ignore. We've seen this fail consistently on Travis, and very rarely on my desktop. Ignore it until it can be investigated fully. https://github.com/square/okhttp/issues/90 --- .../squareup/okhttp/internal/http/URLConnectionTest.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/squareup/okhttp/internal/http/URLConnectionTest.java b/src/test/java/com/squareup/okhttp/internal/http/URLConnectionTest.java index d91a2432e..d43e0d4d0 100644 --- a/src/test/java/com/squareup/okhttp/internal/http/URLConnectionTest.java +++ b/src/test/java/com/squareup/okhttp/internal/http/URLConnectionTest.java @@ -395,7 +395,11 @@ public final class URLConnectionTest { testServerClosesOutput(SHUTDOWN_INPUT_AT_END); } - @Test public void serverShutdownOutput() throws Exception { + /** + * Ignored because this test is racy. + * https://github.com/square/okhttp/issues/90 + */ + @Test @Ignore public void serverShutdownOutput() throws Exception { testServerClosesOutput(SHUTDOWN_OUTPUT_AT_END); }