From ce261deb42669738429d8f510940335d1885f312 Mon Sep 17 00:00:00 2001 From: "marius a. eriksen" Date: Wed, 27 Apr 2011 08:38:29 -0700 Subject: [PATCH] [split] Squashed commit of the following: commit 17d8789e76382b38113bfca5cbce8567620c3e3e Author: marius a. eriksen Date: Wed Apr 27 08:37:57 2011 -0700 fix compile: provide the now-mandatory hostConnectionLimit parameter to the ClientBuilder in DuplexStreamSpec. --- .../scala/com/twitter/finagle/stream/DuplexStreamSpec.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/finagle-stream/src/test/scala/com/twitter/finagle/stream/DuplexStreamSpec.scala b/finagle-stream/src/test/scala/com/twitter/finagle/stream/DuplexStreamSpec.scala index ccbcae383a..7f1f1e64c9 100644 --- a/finagle-stream/src/test/scala/com/twitter/finagle/stream/DuplexStreamSpec.scala +++ b/finagle-stream/src/test/scala/com/twitter/finagle/stream/DuplexStreamSpec.scala @@ -45,6 +45,7 @@ object DuplexStreamSpec extends Specification { val factory = ClientBuilder() .codec(new DuplexStreamCodec(true)) .hosts(Seq(address)) + .hostConnectionLimit(1) .buildFactory() val client = factory.make()() @@ -80,4 +81,4 @@ object DuplexStreamSpec extends Specification { } } } -} \ No newline at end of file +}