Reduce number of docs in test for #4093 - 30 docs are enough to trigger the bug

This commit is contained in:
Simon Willnauer 2013-11-08 09:59:30 +01:00
parent cdbd7918ee
commit 76622f1a9b
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ public class RobinEngineIntegrationTest extends AbstractIntegrationTest {
ByteSizeValue directMemoryMax = info.getJvm().getMem().getDirectMemoryMax();
logger.debug(" --> JVM max direct memory for node [{}] is set to [{}]", info.getNode().getName(), directMemoryMax);
}
final int numDocs = between(100, 500);
final int numDocs = between(30, 100); // 30 docs are enough to fail without the fix for #4093
logger.debug(" --> Indexing [{}] documents", numDocs);
for (int i = 0; i < numDocs; i++) {
if ((i+1) % 10 == 0) {