Skip to content

Commit 937dfbb

Browse files
committed
RUn ClusterDisruptionIT#testAckedIndexing multiple times on CI
Try to catch the issue with duplicated docs reported in #117024
1 parent 17c6e10 commit 937dfbb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ tests:
8686
- class: org.elasticsearch.versioning.ConcurrentSeqNoVersioningIT
8787
method: testSeqNoCASLinearizability
8888
issue: https://github.com/elastic/elasticsearch/issues/117249
89-
- class: org.elasticsearch.discovery.ClusterDisruptionIT
90-
method: testAckedIndexing
91-
issue: https://github.com/elastic/elasticsearch/issues/117024
9289
- class: org.elasticsearch.xpack.inference.InferenceRestIT
9390
method: test {p0=inference/40_semantic_text_query/Query a field that uses the default ELSER 2 endpoint}
9491
issue: https://github.com/elastic/elasticsearch/issues/117027

server/src/internalClusterTest/java/org/elasticsearch/discovery/ClusterDisruptionIT.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
package org.elasticsearch.discovery;
1111

12+
import com.carrotsearch.randomizedtesting.annotations.Repeat;
13+
1214
import org.apache.lucene.index.CorruptIndexException;
1315
import org.elasticsearch.ElasticsearchException;
1416
import org.elasticsearch.action.ActionListener;
@@ -33,6 +35,7 @@
3335
import org.elasticsearch.cluster.service.ClusterService;
3436
import org.elasticsearch.common.settings.Settings;
3537
import org.elasticsearch.common.util.concurrent.ConcurrentCollections;
38+
import org.elasticsearch.core.SuppressForbidden;
3639
import org.elasticsearch.core.TimeValue;
3740
import org.elasticsearch.index.VersionType;
3841
import org.elasticsearch.index.shard.IndexShard;
@@ -110,6 +113,8 @@ static ConflictMode randomMode() {
110113
+ "org.elasticsearch.indices.cluster:TRACE,org.elasticsearch.index.shard:TRACE",
111114
reason = "Past failures have required a lot of additional logging to debug"
112115
)
116+
@Repeat(iterations = 100)
117+
@SuppressForbidden(reason = "run the test multiple times on CI")
113118
public void testAckedIndexing() throws Exception {
114119

115120
final int seconds = (TEST_NIGHTLY && rarely()) == false ? 1 : 5;

0 commit comments

Comments
 (0)