diff options
author | Bjørn Christian Seime <bjorncs@yahoo-inc.com> | 2017-03-31 13:38:44 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahoo-inc.com> | 2017-03-31 13:38:44 +0200 |
commit | dd6a551ffc5d8eac1c03f2256c3622c84994a1cb (patch) | |
tree | bb0fe01e282ca3919ba16c7255e82865dc51e5ef | |
parent | 64172ddbe995373be72aad4be8258db96137dc39 (diff) |
Allow 200 without content
-rw-r--r-- | jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerConformanceTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerConformanceTest.java b/jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerConformanceTest.java index 4640b77590a..09ca633e0f7 100644 --- a/jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerConformanceTest.java +++ b/jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerConformanceTest.java @@ -523,7 +523,7 @@ public class HttpServerConformanceTest extends ServerProviderConformanceTest { @Override @Test public void testRequestContentCloseNondeterministicExceptionWithAsyncCompletion() throws Throwable { - new TestRunner().expect(anyOf(success(), serverError())) + new TestRunner().expect(anyOf(success(), serverError(), successNoContent())) .execute(); } |