From f46a7ef99118258ae3de0f87b3299923d0d3c273 Mon Sep 17 00:00:00 2001 From: Matthew Adams Date: Mon, 9 Dec 2013 16:43:19 -0600 Subject: [PATCH] better fix for too many thread C* errors: fork tests --- pom.xml | 7 ++++--- spring-cassandra/src/test/resources/cassandra.yaml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 6a52dc867..17b44d6df 100644 --- a/pom.xml +++ b/pom.xml @@ -64,7 +64,7 @@ Alex Shvid a at shvid.com - Project Lead + Project Lead Developer -8 @@ -227,7 +227,7 @@ org.apache.maven.plugins maven-surefire-plugin - -Xmx2048m -XX:MaxPermSize=512m + -Xmx2048m -XX:MaxPermSize=512m methods 10 false @@ -247,7 +247,8 @@ org.apache.maven.plugins maven-failsafe-plugin - -Xmx2048m -XX:MaxPermSize=512m + always + -Xmx2048m -XX:MaxPermSize=512m false **/test/integration/**/*.java diff --git a/spring-cassandra/src/test/resources/cassandra.yaml b/spring-cassandra/src/test/resources/cassandra.yaml index df542f82e..67c59aba4 100644 --- a/spring-cassandra/src/test/resources/cassandra.yaml +++ b/spring-cassandra/src/test/resources/cassandra.yaml @@ -339,7 +339,7 @@ native_transport_port: 9042 # transport is used. They are similar to rpc_min_threads and rpc_max_threads, # though the defaults differ slightly. # native_transport_min_threads: 16 -native_transport_max_threads: 48 +#native_transport_max_threads: 48 # Whether to start the thrift rpc server. start_rpc: true