Skip to content

Commit

Permalink
HSEARCH-2480 Restored pre-elasticsearch parameters for MutableFactory…
Browse files Browse the repository at this point in the history
…Test.testMultiThreadedAddClasses

The number of tasks and threads had been lowered because of timeouts
that I thought were due to Elasticsearch being too slow for the test to
work, but it appears that it was related to the bug we just fixed.

Thus we can raise the number of tasks and threads again.
  • Loading branch information
yrodiere authored and Sanne committed Nov 28, 2016
1 parent f6655fb commit bd50be3
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -214,8 +214,8 @@ private static void doIndexWork(Object entity, Integer id, SearchIntegrator sfi,
public void testMultiThreadedAddClasses() throws Exception {
QueryParser parser = new QueryParser( "name", TestConstants.standardAnalyzer );
try ( SearchIntegrator sf = new SearchIntegratorBuilder().configuration( new SearchConfigurationForTest() ).buildSearchIntegrator() ) {
int numberOfClasses = 25;
int numberOfThreads = 5;
int numberOfClasses = 100;
int numberOfThreads = 10;
new ConcurrentRunner( numberOfClasses, numberOfThreads,
new TaskFactory() {
@Override
Expand Down

0 comments on commit bd50be3

Please sign in to comment.