From 528e77cd5e600b67df781dfd1fd897ebcaea86da Mon Sep 17 00:00:00 2001 From: Mark Vieira Date: Tue, 25 Feb 2020 09:22:45 -0800 Subject: [PATCH] Update Docker on linux exclusion list (#52736) (cherry picked from commit 5cfbf4dac11225d9f48fc25919e29713dd53a279) --- .ci/dockerOnLinuxExclusions | 4 +++- .../gradle/docker/DockerSupportService.java | 2 +- .../gradle/docker/DockerSupportServiceTests.java | 12 ++++++------ 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.ci/dockerOnLinuxExclusions b/.ci/dockerOnLinuxExclusions index ab344641baf..4d78cc25848 100644 --- a/.ci/dockerOnLinuxExclusions +++ b/.ci/dockerOnLinuxExclusions @@ -9,4 +9,6 @@ debian-8 opensuse-15-1 ol-6.10 ol-7.7 -sles-12 +sles-12.3 # older version used in Vagrant image +sles-12.4 +sles-15.1 diff --git a/buildSrc/src/main/java/org/elasticsearch/gradle/docker/DockerSupportService.java b/buildSrc/src/main/java/org/elasticsearch/gradle/docker/DockerSupportService.java index 7ffa83c0ff4..0230e772b97 100644 --- a/buildSrc/src/main/java/org/elasticsearch/gradle/docker/DockerSupportService.java +++ b/buildSrc/src/main/java/org/elasticsearch/gradle/docker/DockerSupportService.java @@ -220,7 +220,7 @@ public abstract class DockerSupportService implements BuildService results = parseOsRelease(lines); - final Map expected = Map.of("NAME", "Oracle Linux Server"); + final Map expected = Map.of("NAME", "oracle linux server"); assertThat(expected, equalTo(results)); } @@ -71,7 +71,7 @@ public class DockerSupportServiceTests extends GradleIntegrationTestCase { final Map results = parseOsRelease(lines); - final Map expected = Map.of("NAME", "Oracle Linux Server"); + final Map expected = Map.of("NAME", "oracle linux server"); assertThat(expected, equalTo(results)); }