File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
qa/packaging/src/test/java/org/elasticsearch/packaging/test Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff 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 */
You can’t perform that action at this time.
0 commit comments