[TEST] issue additional flush
This commit is contained in:
parent
c9afeccac4
commit
17c06f06ba
|
@ -158,6 +158,7 @@ public class OldIndexBackwardsCompatibilityTests extends ElasticsearchIntegratio
|
||||||
}
|
}
|
||||||
|
|
||||||
void unloadIndex(String indexName) throws Exception {
|
void unloadIndex(String indexName) throws Exception {
|
||||||
|
client().admin().indices().prepareFlush(indexName).setWaitIfOngoing(true).setForce(true).get(); // temporary for debugging
|
||||||
ElasticsearchAssertions.assertAcked(client().admin().indices().prepareDelete(indexName).get());
|
ElasticsearchAssertions.assertAcked(client().admin().indices().prepareDelete(indexName).get());
|
||||||
ElasticsearchAssertions.assertAllFilesClosed();
|
ElasticsearchAssertions.assertAllFilesClosed();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue