Skip to content

Commit 5977588

Browse files
authored
[9.0][Build]Remove superflous ironbank docker test (elastic#136170)
This is related to elastic#135668
1 parent afd9bb9 commit 5977588

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

qa/packaging/src/test/java/org/elasticsearch/packaging/test/DockerTests.java

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,23 +1178,6 @@ public void test300IronBankImagesHaveLicenseDirectory() {
11781178
assertThat(ubiLicense, equalTo(distroLicense));
11791179
}
11801180

1181-
/**
1182-
* Check that the Iron Bank image doesn't define extra labels
1183-
*/
1184-
public void test310IronBankImageHasNoAdditionalLabels() throws Exception {
1185-
assumeTrue(distribution.packaging == Packaging.DOCKER_IRON_BANK);
1186-
1187-
final Map<String, String> labels = getImageLabels(distribution);
1188-
1189-
final Set<String> labelKeys = labels.keySet();
1190-
1191-
// We can't just assert that the labels map is empty, because it can inherit labels from its base.
1192-
// This is certainly the case when we build the Iron Bank image using a UBI base. It is unknown
1193-
// if that is true for genuine Iron Bank builds.
1194-
assertFalse(labelKeys.stream().anyMatch(l -> l.startsWith("org.label-schema.")));
1195-
assertFalse(labelKeys.stream().anyMatch(l -> l.startsWith("org.opencontainers.")));
1196-
}
1197-
11981181
/**
11991182
* Check that the Cloud image contains the required Beats
12001183
*/

0 commit comments

Comments
 (0)