Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -516,9 +516,6 @@ tests:
- class: org.elasticsearch.xpack.esql.expression.function.scalar.score.DecayTests
method: "testEvaluateBlockWithNulls {TestCase=<integer>, <integer>, <integer>, <_source> #2}"
issue: https://github.com/elastic/elasticsearch/issues/134679
- class: org.elasticsearch.discovery.DiscoveryDisruptionIT
method: testElectMasterWithLatestVersion
issue: https://github.com/elastic/elasticsearch/issues/134748
- class: org.elasticsearch.xpack.esql.ccq.MultiClusterSpecIT
method: test {csv-spec:fork.ForkBeforeStatsByWithWhere}
issue: https://github.com/elastic/elasticsearch/issues/134817
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ public void testElectMasterWithLatestVersion() throws Exception {
isolateAllNodes.stopDisrupting();

awaitMasterNode();
final ClusterState state = clusterAdmin().prepareState(TEST_REQUEST_TIMEOUT).get().getState();
final var masterNodeAdminClient = client(internalCluster().getMasterName()).admin().cluster();
final ClusterState state = masterNodeAdminClient.prepareState(TEST_REQUEST_TIMEOUT).get().getState();
if (state.metadata().getProject().hasIndex("test") == false) {
fail("index 'test' was lost. current cluster state: " + state);
}
Expand Down
Loading