=htc refactor HttpClient stream setup, closes #16510
This commit is contained in:
parent
4d907bfb50
commit
968e9cc5a7
13 changed files with 687 additions and 127 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue