From 5dc0db21126299c5281dba4da969932f4991fadc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Andr=C3=A9n?= Date: Mon, 1 Aug 2016 18:34:30 +0200 Subject: [PATCH] =htc Http server latency multi node spec array and source routes unmixed (#21086) --- .../scala/akka/http/AkkaHttpServerLatencyMultiNodeSpec.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/akka-http-tests/src/multi-jvm/scala/akka/http/AkkaHttpServerLatencyMultiNodeSpec.scala b/akka-http-tests/src/multi-jvm/scala/akka/http/AkkaHttpServerLatencyMultiNodeSpec.scala index df46442b38..0e480f80b2 100644 --- a/akka-http-tests/src/multi-jvm/scala/akka/http/AkkaHttpServerLatencyMultiNodeSpec.scala +++ b/akka-http-tests/src/multi-jvm/scala/akka/http/AkkaHttpServerLatencyMultiNodeSpec.scala @@ -134,12 +134,12 @@ class AkkaHttpServerLatencyMultiNodeSpec extends MultiNodeSpec(AkkaHttpServerLat path("ping") { complete("PONG!") } ~ - path("long-response-stream" / IntNumber) { n => + path("long-response-array" / IntNumber) { n => if (n == 10) complete(HttpEntity(ContentTypes.`text/plain(UTF-8)`, array_10x)) else if (n == 100) complete(HttpEntity(ContentTypes.`text/plain(UTF-8)`, array_10x)) else throw new RuntimeException(s"Not implemented for ${n}") } ~ - path("long-response-array" / IntNumber) { n => + path("long-response-stream" / IntNumber) { n => if (n == 10) complete(HttpEntity(ContentTypes.`text/plain(UTF-8)`, source_100x)) else if (n == 100) complete(HttpEntity(ContentTypes.`text/plain(UTF-8)`, source_100x)) else throw new RuntimeException(s"Not implemented for ${n}")