!str #16235 Rename Sink.future to Sink.head
This commit is contained in:
parent
359681e446
commit
65269274b1
28 changed files with 83 additions and 83 deletions
|
|
@ -95,6 +95,6 @@ trait RouteTestResultComponent {
|
|||
failTest("Request was neither completed nor rejected within " + timeout)
|
||||
|
||||
private def awaitAllElements[T](data: Source[T]): immutable.Seq[T] =
|
||||
Await.result(data.grouped(Int.MaxValue).runWith(Sink.future), timeout)
|
||||
Await.result(data.grouped(Int.MaxValue).runWith(Sink.head), timeout)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue