better fix for too many thread C* errors: fork tests

This commit is contained in:
Matthew Adams
2013-12-09 16:43:19 -06:00
parent 5dc611c672
commit f46a7ef991
2 changed files with 5 additions and 4 deletions

View File

@@ -64,7 +64,7 @@
<name>Alex Shvid</name>
<email>a at shvid.com</email>
<roles>
<role>Project Lead</role>
<role>Project Lead</role>
<role>Developer</role>
</roles>
<timezone>-8</timezone>
@@ -227,7 +227,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-Xmx2048m -XX:MaxPermSize=512m</argLine>
<argLine>-Xmx2048m -XX:MaxPermSize=512m</argLine>
<parallel>methods</parallel>
<threadCount>10</threadCount>
<useFile>false</useFile>
@@ -247,7 +247,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<argLine>-Xmx2048m -XX:MaxPermSize=512m</argLine>
<forkMode>always</forkMode>
<argLine>-Xmx2048m -XX:MaxPermSize=512m</argLine>
<useFile>false</useFile>
<includes>
<include>**/test/integration/**/*.java</include>

View File

@@ -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