From 10868966d3dc49b3bfb74d4d1e03fb6a7d1daceb Mon Sep 17 00:00:00 2001 From: Johannes Rudolph Date: Mon, 8 Sep 2014 17:39:09 +0200 Subject: [PATCH] =hco fail pending tests faster --- .../akka/http/server/HttpServerPipelineSpec.scala | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/akka-http-core/src/test/scala/akka/http/server/HttpServerPipelineSpec.scala b/akka-http-core/src/test/scala/akka/http/server/HttpServerPipelineSpec.scala index b8afb6c25e..4d50902ba0 100644 --- a/akka-http-core/src/test/scala/akka/http/server/HttpServerPipelineSpec.scala +++ b/akka-http-core/src/test/scala/akka/http/server/HttpServerPipelineSpec.scala @@ -53,15 +53,18 @@ class HttpServerPipelineSpec extends AkkaSpec with Matchers with BeforeAndAfterA dataProbe.expectNoMsg(50.millis) } } - "deliver an error as soon as a parsing error occurred" in pendingUntilFixed(new TestSetup { + "deliver an error as soon as a parsing error occurred" in new TestSetup { + pending + // POST should require Content-Length header send("""POST / HTTP/1.1 |Host: example.com | |""".stripMarginWithNewline("\r\n")) requests.expectError() - }) - "report a invalid Chunked stream" in pendingUntilFixed(new TestSetup { + } + "report a invalid Chunked stream" in new TestSetup { + pending send("""POST / HTTP/1.1 |Host: example.com |Transfer-Encoding: chunked @@ -83,7 +86,7 @@ class HttpServerPipelineSpec extends AkkaSpec with Matchers with BeforeAndAfterA dataProbe.expectError() requests.expectError() } - }) + } "deliver the request entity as it comes in strictly for an immediately completed Strict entity" in new TestSetup { send("""POST /strict HTTP/1.1