Skip to content

Commit f43fdd1

Browse files
committed
fix test
1 parent bafccbc commit f43fdd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/allocation/CcrPrimaryFollowerAllocationDeciderTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public void testBootstrappingFollowerIndex() {
191191

192192
static DiscoveryNode newNodeWithLegacyRoles(String id) {
193193
final Version version = VersionUtils.randomVersionBetween(random(),
194-
Version.V_6_0_0, VersionUtils.getPreviousVersion(Version.V_7_3_0));
194+
Version.V_6_0_0, VersionUtils.getPreviousVersion(DiscoveryNode.PLUGGABLE_ROLES_VERSION));
195195
return new DiscoveryNode(id, buildNewFakeTransportAddress(), emptyMap(), Sets.newHashSet(DiscoveryNodeRole.DATA_ROLE), version);
196196
}
197197

0 commit comments

Comments
 (0)