Test: temporarily avoiding replica problems with 0.90.13, see #10434

This commit is contained in:
Ryan Ernst 2015-04-04 09:26:16 -07:00
parent a95b11ca61
commit 9191da9d9f
1 changed files with 5 additions and 2 deletions

View File

@ -203,13 +203,16 @@ public class OldIndexBackwardsCompatibilityTests extends ElasticsearchIntegratio
}
void assertOldIndexWorks(String index) throws Exception {
Version version = extractVersion(index);
String indexName = loadIndex(index);
assertIndexSanity(indexName);
assertBasicSearchWorks(indexName);
assertBasicAggregationWorks(indexName);
assertRealtimeGetWorks(indexName);
assertNewReplicasWork(indexName);
Version version = extractVersion(index);
if (version.equals(Version.V_0_90_13) == false) {
// norelease: 0.90.13 can take too long to create replicas, see https://github.com/elastic/elasticsearch/issues/10434
assertNewReplicasWork(indexName);
}
assertUpgradeWorks(indexName, isLatestLuceneVersion(version));
assertDeleteByQueryWorked(indexName, version);
unloadIndex(indexName);