better fix for too many thread C* errors: fork tests
This commit is contained in:
7
pom.xml
7
pom.xml
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user