Skip to content

Commit aab64f3

Browse files
authored
[8.19][Build]Remove superflous ironbank docker test (#136170) (#136177)
This is related to #135668
1 parent c034a02 commit aab64f3

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
@@ -1180,23 +1180,6 @@ public void test300IronBankImagesHaveLicenseDirectory() {
11801180
assertThat(ubiLicense, equalTo(distroLicense));
11811181
}
11821182

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

0 commit comments

Comments
 (0)