Repository: camel Updated Branches: refs/heads/master 06a80fd3e -> 7a98001b7
CAMEL-11334: Fixed unit test to use a more reasonable thread count. Thanks to Dmitry Volodin for the suggestion. Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/7a98001b Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/7a98001b Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/7a98001b Branch: refs/heads/master Commit: 7a98001b7097bd4b0778e22cc1f9f140013edf16 Parents: 06a80fd Author: Claus Ibsen <davscl...@apache.org> Authored: Sat May 27 09:47:58 2017 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Sat May 27 09:47:58 2017 +0200 ---------------------------------------------------------------------- .../apache/camel/component/grpc/GrpcConsumerConcurrentTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/7a98001b/components/camel-grpc/src/test/java/org/apache/camel/component/grpc/GrpcConsumerConcurrentTest.java ---------------------------------------------------------------------- diff --git a/components/camel-grpc/src/test/java/org/apache/camel/component/grpc/GrpcConsumerConcurrentTest.java b/components/camel-grpc/src/test/java/org/apache/camel/component/grpc/GrpcConsumerConcurrentTest.java index 01b92d8..c341e51 100644 --- a/components/camel-grpc/src/test/java/org/apache/camel/component/grpc/GrpcConsumerConcurrentTest.java +++ b/components/camel-grpc/src/test/java/org/apache/camel/component/grpc/GrpcConsumerConcurrentTest.java @@ -41,7 +41,7 @@ public class GrpcConsumerConcurrentTest extends CamelTestSupport { private static final int GRPC_ASYNC_REQUEST_TEST_PORT = AvailablePortFinder.getNextAvailable(); private static final int GRPC_HEADERS_TEST_PORT = AvailablePortFinder.getNextAvailable(); - private static final int CONCURRENT_THREAD_COUNT = 300; + private static final int CONCURRENT_THREAD_COUNT = 30; private static final int ROUNDS_PER_THREAD_COUNT = 10; private static final String GRPC_TEST_PING_VALUE = "PING"; private static final String GRPC_TEST_PONG_VALUE = "PONG";