Test: increasing replicas timeout to avoid slowness on virtualized
hardware (aka jenkins)
This commit is contained in:
parent
acabf2d55a
commit
6df978e76e
|
@ -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()));
|
||||
|
||||
|
|
Loading…
Reference in New Issue