|
18 | 18 | */ |
19 | 19 | package org.elasticsearch.indices.flush; |
20 | 20 |
|
| 21 | +import java.io.IOException; |
| 22 | +import java.util.Arrays; |
| 23 | +import java.util.List; |
| 24 | +import java.util.Map; |
| 25 | +import java.util.concurrent.CopyOnWriteArrayList; |
| 26 | +import java.util.concurrent.CountDownLatch; |
| 27 | +import java.util.concurrent.atomic.AtomicBoolean; |
| 28 | +import java.util.concurrent.atomic.AtomicInteger; |
| 29 | +import java.util.stream.Collectors; |
| 30 | + |
21 | 31 | import org.apache.lucene.index.Term; |
22 | 32 | import org.elasticsearch.action.ActionListener; |
23 | 33 | import org.elasticsearch.action.admin.indices.flush.FlushRequest; |
|
47 | 57 | import org.elasticsearch.indices.IndicesService; |
48 | 58 | import org.elasticsearch.test.ESIntegTestCase; |
49 | 59 |
|
50 | | -import java.io.IOException; |
51 | | -import java.util.Arrays; |
52 | | -import java.util.List; |
53 | | -import java.util.Map; |
54 | | -import java.util.concurrent.CopyOnWriteArrayList; |
55 | | -import java.util.concurrent.CountDownLatch; |
56 | | -import java.util.concurrent.atomic.AtomicBoolean; |
57 | | -import java.util.concurrent.atomic.AtomicInteger; |
58 | | -import java.util.stream.Collectors; |
59 | | - |
60 | 60 | import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcked; |
61 | 61 | import static org.hamcrest.Matchers.emptyIterable; |
62 | 62 | import static org.hamcrest.Matchers.equalTo; |
@@ -286,6 +286,7 @@ public void testSyncedFlushSkipOutOfSyncReplicas() throws Exception { |
286 | 286 | assertThat(fullResult.successfulShards(), equalTo(numberOfReplicas + 1)); |
287 | 287 | } |
288 | 288 |
|
| 289 | + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/32436") |
289 | 290 | public void testDoNotRenewSyncedFlushWhenAllSealed() throws Exception { |
290 | 291 | internalCluster().ensureAtLeastNumDataNodes(between(2, 3)); |
291 | 292 | final int numberOfReplicas = internalCluster().numDataNodes() - 1; |
|
0 commit comments