Test: increasing replicas timeout to avoid slowness on virtualized

hardware (aka jenkins)
This commit is contained in:
Ryan Ernst 2015-04-08 08:44:39 -07:00
parent acabf2d55a
commit 6df978e76e
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ public class OldIndexBackwardsCompatibilityTests extends ElasticsearchIntegratio
assertAcked(client().admin().indices().prepareUpdateSettings(indexName).setSettings(ImmutableSettings.builder()
.put("number_of_replicas", numReplicas)
).execute().actionGet());
ensureGreen(indexName);
ensureGreen(TimeValue.timeValueMinutes(1), 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()));