Test: make test less evil to not cause OOME

This commit is contained in:
Michael McCandless 2014-10-14 11:27:49 -04:00 committed by mikemccand
parent cb381b4645
commit 6166911d8a
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ public class UUIDTests extends ElasticsearchTestCase {
public void testUUIDThreaded(UUIDGenerator uuidSource) {
HashSet<UUIDGenRunner> runners = new HashSet<>();
HashSet<Thread> threads = new HashSet<>();
int count = 100;
int count = 20;
int uuids = 10000;
for (int i = 0; i < count; ++i) {
UUIDGenRunner runner = new UUIDGenRunner(uuids, uuidSource);