We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a98e8f7 + 1eede11 commit 2e248a7Copy full SHA for 2e248a7
server/src/test/java/org/elasticsearch/cluster/FeatureAwareTests.java
@@ -107,7 +107,7 @@ public Optional<String> getRequiredFeature() {
107
}
108
109
public void testVersion() {
110
- final Version version = VersionUtils.randomVersion(random());
+ final Version version = randomValueOtherThan(VersionUtils.getFirstVersion(), () -> VersionUtils.randomVersion(random()));
111
for (final Custom custom : Arrays.asList(new NoRequiredFeatureCustom(version), new RequiredFeatureCustom(version))) {
112
{
113
final BytesStreamOutput out = new BytesStreamOutput();
0 commit comments