Skip to content

Commit c8d2c7d

Browse files
authored
Fix NodeJoinExecutorTests#testSuccess (#119064)
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
1 parent 252f66d commit c8d2c7d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,6 @@ tests:
298298
issue: https://github.com/elastic/elasticsearch/issues/116777
299299
- class: org.elasticsearch.xpack.security.authc.ldap.ActiveDirectoryRunAsIT
300300
issue: https://github.com/elastic/elasticsearch/issues/115727
301-
- class: org.elasticsearch.cluster.coordination.NodeJoinExecutorTests
302-
method: testSuccess
303-
issue: https://github.com/elastic/elasticsearch/issues/119052
304301

305302
# Examples:
306303
#

server/src/test/java/org/elasticsearch/cluster/coordination/NodeJoinExecutorTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ public void testSuccess() {
467467
.build();
468468
metaBuilder.put(indexMetadata, false);
469469
Metadata metadata = metaBuilder.build();
470-
NodeJoinExecutor.ensureIndexCompatibility(IndexVersions.MINIMUM_COMPATIBLE, IndexVersion.current(), metadata);
470+
NodeJoinExecutor.ensureIndexCompatibility(IndexVersions.MINIMUM_READONLY_COMPATIBLE, IndexVersion.current(), metadata);
471471
}
472472

473473
public static Settings.Builder randomCompatibleVersionSettings() {

0 commit comments

Comments
 (0)