Skip to content

Run ClusterDisruptionIT#testAckedIndexing multiple times on CI #126996

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@ tests:
- class: org.elasticsearch.versioning.ConcurrentSeqNoVersioningIT
method: testSeqNoCASLinearizability
issue: https://github.com/elastic/elasticsearch/issues/117249
- class: org.elasticsearch.discovery.ClusterDisruptionIT
method: testAckedIndexing
issue: https://github.com/elastic/elasticsearch/issues/117024
- class: org.elasticsearch.xpack.inference.InferenceRestIT
method: test {p0=inference/40_semantic_text_query/Query a field that uses the default ELSER 2 endpoint}
issue: https://github.com/elastic/elasticsearch/issues/117027
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

package org.elasticsearch.discovery;

import com.carrotsearch.randomizedtesting.annotations.Repeat;

import org.apache.lucene.index.CorruptIndexException;
import org.elasticsearch.ElasticsearchException;
import org.elasticsearch.action.ActionListener;
Expand All @@ -33,6 +35,7 @@
import org.elasticsearch.cluster.service.ClusterService;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.common.util.concurrent.ConcurrentCollections;
import org.elasticsearch.core.SuppressForbidden;
import org.elasticsearch.core.TimeValue;
import org.elasticsearch.index.VersionType;
import org.elasticsearch.index.shard.IndexShard;
Expand Down Expand Up @@ -110,6 +113,8 @@ static ConflictMode randomMode() {
+ "org.elasticsearch.indices.cluster:TRACE,org.elasticsearch.index.shard:TRACE",
reason = "Past failures have required a lot of additional logging to debug"
)
@Repeat(iterations = 100)
@SuppressForbidden(reason = "run the test multiple times on CI")
public void testAckedIndexing() throws Exception {

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