Skip to content

Commit c5124b6

Browse files
committed
delete useless test
It is not useful to test for the mere presence of the 'release' label, since we inherit it from our base image. It's not especially helpful to check architecture=x86_64 either, which rules out running the test suit on any other architecture. Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 85a2119 commit c5124b6

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

tests/features/openshift.feature

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
1+
# builder-only test
12
@ubi8/openjdk-8
23
@ubi8/openjdk-11
34
@ubi8/openjdk-17
45
Feature: Tests for all openshift images
56

6-
@ubi8
7-
Scenario: Check that product labels are correctly set
8-
# We don't set 'release' or 'architecture' on CI builds, but it's set on OSBS builds
9-
# Since we base on an image which has it already set, it's kind of meaningless
10-
# to test it, but it's left here for usage with OSBS-built images.
11-
# These are also not set on community images, so we cannot test both flavors with the same set.
12-
Given image is built
13-
Then the image should contain label release
14-
And the image should contain label architecture with value x86_64
15-
167
Scenario: Check that common labels are correctly set
178
Given image is built
189
Then the image should contain label version

0 commit comments

Comments
 (0)