Tests: Increase delete timeout for static bwc tests to 1 minute

This commit is contained in:
Ryan Ernst 2015-04-08 21:24:10 -07:00
parent 0cd1848e88
commit b343d688c5
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ public class OldIndexBackwardsCompatibilityTests extends ElasticsearchIntegratio
}
void unloadIndex(String indexName) throws Exception {
ElasticsearchAssertions.assertAcked(client().admin().indices().prepareDelete(indexName).setTimeout(TimeValue.timeValueSeconds(30)).get());
ElasticsearchAssertions.assertAcked(client().admin().indices().prepareDelete(indexName).setTimeout(TimeValue.timeValueMinutes(1)).get());
ElasticsearchAssertions.assertAllFilesClosed();
}