Reduce stress test impact

This commit is contained in:
James Agnew 2017-07-20 14:18:26 -04:00
parent 722eab62f2
commit 49ddf76a5d
1 changed files with 3 additions and 3 deletions

View File

@ -106,12 +106,12 @@ public class StressTestDstu3Test extends BaseResourceProviderDstu3Test {
List<BaseTask> tasks = Lists.newArrayList();
try {
for (int threadIndex = 0; threadIndex < 8; threadIndex++) {
for (int threadIndex = 0; threadIndex < 5; threadIndex++) {
SearchTask task = new SearchTask();
tasks.add(task);
task.start();
}
for (int threadIndex = 0; threadIndex < 8; threadIndex++) {
for (int threadIndex = 0; threadIndex < 5; threadIndex++) {
CreateTask task = new CreateTask();
tasks.add(task);
task.start();
@ -165,7 +165,7 @@ public class StressTestDstu3Test extends BaseResourceProviderDstu3Test {
@Override
public void run() {
CloseableHttpResponse getResp = null;
for (int i = 0; i < 20; i++) {
for (int i = 0; i < 10; i++) {
try {
Bundle respBundle;