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 @@ -1180,23 +1180,6 @@ public void test300IronBankImagesHaveLicenseDirectory() {
1180
1180
assertThat (ubiLicense , equalTo (distroLicense ));
1181
1181
}
1182
1182
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
-
1200
1183
/**
1201
1184
* Check that the Cloud image contains the required Beats
1202
1185
*/
You can’t perform that action at this time.
0 commit comments