File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
test/framework/src/main/java/org/elasticsearch/test/rest Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -81,15 +81,15 @@ public boolean clusterHasFeature(String featureId) {
81
81
Matcher matcher = VERSION_FEATURE_PATTERN .matcher (featureId );
82
82
if (matcher .matches ()) {
83
83
Version extractedVersion = Version .fromString (matcher .group (1 ));
84
- if (Version .V_8_14_0 .before (extractedVersion )) {
84
+ if (Version .CURRENT .before (extractedVersion )) {
85
85
// As of version 8.14.0 REST tests have been migrated to use features only.
86
- // For migration purposes we provide a synthetic version feature gte_vX.Y.Z for any version at or before 8.14.0 .
86
+ // For migration purposes we provide a synthetic version feature gte_vX.Y.Z for any version at or before CURRENT ( 8.14.x) .
87
87
throw new IllegalArgumentException (
88
88
Strings .format (
89
89
"Synthetic version features are only available before [%s] for migration purposes! "
90
- + "Please add a cluster feature to an appropriate FeatureSpecification; features only necessary for "
91
- + "testing can be supplied via ESRestTestCase#createAdditionalFeatureSpecifications()" ,
92
- Version .V_8_14_0
90
+ + "Please add a cluster feature to an appropriate FeatureSpecification; test- only historical-features "
91
+ + "can be supplied via ESRestTestCase#createAdditionalFeatureSpecifications()" ,
92
+ Version .CURRENT
93
93
)
94
94
);
95
95
}
You can’t perform that action at this time.
0 commit comments