diff --git a/src/test/java/org/elasticsearch/bwcompat/OldIndexBackwardsCompatibilityTests.java b/src/test/java/org/elasticsearch/bwcompat/OldIndexBackwardsCompatibilityTests.java index 58aa5e2e4ca..cb7a72d8e9d 100644 --- a/src/test/java/org/elasticsearch/bwcompat/OldIndexBackwardsCompatibilityTests.java +++ b/src/test/java/org/elasticsearch/bwcompat/OldIndexBackwardsCompatibilityTests.java @@ -195,12 +195,25 @@ public class OldIndexBackwardsCompatibilityTests extends ElasticsearchIntegratio } } - @TestLogging("test.engine:TRACE,index.engine:TRACE,test.engine.lucene:INFO,index.engine.lucene:INFO") public void testOldIndexes() throws Exception { setupCluster(); Collections.shuffle(indexes, getRandom()); for (String index : indexes) { + if (index.equals("index-0.90.13.zip") == false) { + long startTime = System.currentTimeMillis(); + logger.info("--> Testing old index " + index); + assertOldIndexWorks(index); + logger.info("--> Done testing " + index + ", took " + ((System.currentTimeMillis() - startTime) / 1000.0) + " seconds"); + } + } + } + + @TestLogging("test.engine:TRACE,index.engine:TRACE,test.engine.lucene:TRACE,index.engine.lucene:TRACE") + public void testShitSlowIndex() throws Exception { + setupCluster(); + for (int i = 0; i < 5; i++) { + String index = "index-0.90.13.zip"; long startTime = System.currentTimeMillis(); logger.info("--> Testing old index " + index); assertOldIndexWorks(index);