=htc refactor HttpClient stream setup, closes #16510

This commit is contained in:
Mathias 2014-12-18 17:05:50 +01:00
parent 4d907bfb50
commit 968e9cc5a7
13 changed files with 687 additions and 127 deletions

View file

@ -96,6 +96,6 @@ trait RouteTestResultComponent {
failTest("Request was neither completed nor rejected within " + timeout)
private def awaitAllElements[T](data: Source[T]): immutable.Seq[T] =
data.collectAll.awaitResult(timeout)
data.grouped(100000).runWith(Sink.head).awaitResult(timeout)
}
}