From 9c982cf3c2c83edd3fdeecf57579a3076109e73c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjetil=20=C3=98rbekk?= Date: Mon, 2 Apr 2012 00:43:04 +0200 Subject: Use thread pool in SimpleProtobufServer. --- src/test/java/com/orbekk/protobuf/ProtobufFunctionalTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/java') diff --git a/src/test/java/com/orbekk/protobuf/ProtobufFunctionalTest.java b/src/test/java/com/orbekk/protobuf/ProtobufFunctionalTest.java index 22b5e31..cb1cf0d 100644 --- a/src/test/java/com/orbekk/protobuf/ProtobufFunctionalTest.java +++ b/src/test/java/com/orbekk/protobuf/ProtobufFunctionalTest.java @@ -28,7 +28,7 @@ import com.orbekk.protobuf.Test.Type2; public class ProtobufFunctionalTest { CountDownLatch returnC = new CountDownLatch(1); - SimpleProtobufServer server = SimpleProtobufServer.create(0); + SimpleProtobufServer server = SimpleProtobufServer.create(0, 50); int serverport = server.getPort(); RpcChannel channel = RpcChannel.create("localhost", serverport); TestService directService = new TestService(); -- cgit v1.2.3