Mute VersionUtilsTest#testGradleVersionsMatchVersionUtils

Relates #27815
This commit is contained in:
Daniel Mitterdorfer 2017-12-14 12:33:41 +01:00
parent 7e0fc8a112
commit d26b33dea2
1 changed files with 4 additions and 0 deletions

View File

@ -259,6 +259,10 @@ public class VersionUtilsTests extends ESTestCase {
* agree with the list of wire and index compatible versions we build in gradle.
*/
public void testGradleVersionsMatchVersionUtils() {
if (System.getProperty("build.snapshot", "true").equals("false")) {
logger.warn("Skipping testGradleVersionsMatchVersionUtils(): See #27815 for details");
return;
}
// First check the index compatible versions
VersionsFromProperty indexCompatible = new VersionsFromProperty("tests.gradle_index_compat_versions");
List<Version> released = VersionUtils.allReleasedVersions().stream()