diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-04-02 00:43:04 +0200 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-04-02 00:43:04 +0200 |
commit | 9c982cf3c2c83edd3fdeecf57579a3076109e73c (patch) | |
tree | 6ac02d8651c41eef67b12530ba61d7db6b121346 /src/test/java | |
parent | 79cf815533940217d748c0a34078678598b4a417 (diff) |
Use thread pool in SimpleProtobufServer.
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/com/orbekk/protobuf/ProtobufFunctionalTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |