Tests: increasing timeout for replicas in static bwc tests, to account

for reallySlowJenkinsWhenIndexHasLotsOfSegments
This commit is contained in:
Ryan Ernst 2015-04-09 13:31:08 -07:00
parent 78612cf0a8
commit 9d0764e5df
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ public class OldIndexBackwardsCompatibilityTests extends ElasticsearchIntegratio
assertAcked(client().admin().indices().prepareUpdateSettings(indexName).setSettings(ImmutableSettings.builder()
.put("number_of_replicas", numReplicas)
).execute().actionGet());
ensureGreen(TimeValue.timeValueMinutes(1), indexName);
ensureGreen(TimeValue.timeValueMinutes(2), indexName);
logger.debug("--> index [{}] is green, took [{}]", indexName, TimeValue.timeValueMillis(System.currentTimeMillis() - startTime));
logger.debug("--> recovery status:\n{}", XContentHelper.toString(client().admin().indices().prepareRecoveries(indexName).get()));