Skip to content

Commit

Permalink
Fix Test Failure in SplitIndexIT (elastic#112070)
Browse files Browse the repository at this point in the history
This PR fixes the testSplitIndexPrimaryTerm() test inside SplitIndexIT. Fixes elastic#111282
  • Loading branch information
ankikuma authored and cbuescher committed Sep 4, 2024
1 parent 023cdfb commit d231bec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@ tests:
- class: org.elasticsearch.xpack.security.authc.oidc.OpenIdConnectAuthIT
method: testAuthenticateWithImplicitFlow
issue: https://github.com/elastic/elasticsearch/issues/111191
- class: org.elasticsearch.action.admin.indices.create.SplitIndexIT
method: testSplitIndexPrimaryTerm
issue: https://github.com/elastic/elasticsearch/issues/111282
- class: org.elasticsearch.xpack.ml.integration.DatafeedJobsRestIT
issue: https://github.com/elastic/elasticsearch/issues/111319
- class: org.elasticsearch.xpack.ml.integration.InferenceIngestInputConfigIT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ public void testSplitIndexPrimaryTerm() throws Exception {
.put(indexSettings())
.put("number_of_shards", numberOfShards)
.put("index.number_of_routing_shards", numberOfTargetShards)
.put("index.routing.rebalance.enable", EnableAllocationDecider.Rebalance.NONE)
).get();
ensureGreen(TimeValue.timeValueSeconds(120)); // needs more than the default to allocate many shards

Expand Down

0 comments on commit d231bec

Please sign in to comment.