Skip to content

Commit d26b33d

Browse files
Mute VersionUtilsTest#testGradleVersionsMatchVersionUtils
Relates #27815
1 parent 7e0fc8a commit d26b33d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/framework/src/test/java/org/elasticsearch/test/VersionUtilsTests.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,10 @@ public void testResolveReleasedVersionsAtNewMinorBranchIn6x() {
259259
* agree with the list of wire and index compatible versions we build in gradle.
260260
*/
261261
public void testGradleVersionsMatchVersionUtils() {
262+
if (System.getProperty("build.snapshot", "true").equals("false")) {
263+
logger.warn("Skipping testGradleVersionsMatchVersionUtils(): See #27815 for details");
264+
return;
265+
}
262266
// First check the index compatible versions
263267
VersionsFromProperty indexCompatible = new VersionsFromProperty("tests.gradle_index_compat_versions");
264268
List<Version> released = VersionUtils.allReleasedVersions().stream()

0 commit comments

Comments
 (0)