Skip to content

Commit

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

Closes #119052
  • Loading branch information
javanna authored Dec 19, 2024
1 parent 252f66d commit c8d2c7d
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 @@ -298,9 +298,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 c8d2c7d

Please sign in to comment.