Skip to content

Commit

Permalink
Fix NodeJoinExecutorTests#testSuccess
Browse files Browse the repository at this point in the history
This is related to elastic#119013, we can lower the minimum compatible version to
read only compatible version to make the test succeed at all times.

Closes elastic#119052
  • Loading branch information
javanna committed Dec 19, 2024
1 parent 78bd9ec commit 370f114
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,6 @@ tests:
issue: https://github.com/elastic/elasticsearch/issues/116777
- class: org.elasticsearch.xpack.security.authc.ldap.ActiveDirectoryRunAsIT
issue: https://github.com/elastic/elasticsearch/issues/115727
- class: org.elasticsearch.cluster.coordination.NodeJoinExecutorTests
method: testSuccess
issue: https://github.com/elastic/elasticsearch/issues/119052

# Examples:
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ public void testSuccess() {
.build();
metaBuilder.put(indexMetadata, false);
Metadata metadata = metaBuilder.build();
NodeJoinExecutor.ensureIndexCompatibility(IndexVersions.MINIMUM_COMPATIBLE, IndexVersion.current(), metadata);
NodeJoinExecutor.ensureIndexCompatibility(IndexVersions.MINIMUM_READONLY_COMPATIBLE, IndexVersion.current(), metadata);
}

public static Settings.Builder randomCompatibleVersionSettings() {
Expand Down

0 comments on commit 370f114

Please sign in to comment.