Skip to content

Commit b2ff61e

Browse files
authored
Merge pull request #523 from vieiro/features/OPENJDK-3448
[OPENJDK-3448] Adjust Behave test tagging for new container names in RHEL8 Too
2 parents 0ba0f74 + 9ec40bb commit b2ff61e

File tree

25 files changed

+48
-108
lines changed

25 files changed

+48
-108
lines changed

.github/workflows/image-workflow-template.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: clear docker credentials
4040
run: docker logout
4141

42-
# - name: Behave Tests
43-
# run: |
44-
# echo /home/runner/work/_temp/openshift-bin >> $GITHUB_PATH
45-
# cekit -v --descriptor ${{ inputs.image }}.yaml test behave --steps-url https://github.com/jmtd/behave-test-steps
42+
- name: Behave Tests
43+
run: |
44+
echo /home/runner/work/_temp/openshift-bin >> $GITHUB_PATH
45+
cekit -v --descriptor ${{ inputs.image }}.yaml test behave --steps-url https://github.com/jmtd/behave-test-steps

.github/workflows/ubi8-openjdk-17-runtime.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/ubi8-openjdk-17.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/ubi8-openjdk-21-runtime.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/ubi8-openjdk-21.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/ubi8-openjdk-8-runtime.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/ubi8-openjdk-8.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

modules/jdk/tests/features/openjdk.feature

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Feature: Miscellaneous OpenJDK-related unit tests
1111
Then available container log should not contain java-11
1212
Then available container log should not contain java-17
1313

14-
@ubi8/openjdk-11
15-
@ubi8/openjdk-11-runtime
14+
@openjdk-els/openjdk-11-rhel8
15+
@openjdk-els/openjdk-11-runtime-rhel8
1616
Scenario: Check that only OpenJDK 11 is installed
1717
When container is started with args
1818
| arg | value |
@@ -40,14 +40,14 @@ Feature: Miscellaneous OpenJDK-related unit tests
4040
Then available container log should not contain java-11
4141
Then available container log should not contain java-17
4242

43-
@ubi8
43+
@openjdk-els
4444
Scenario: Ensure JAVA_HOME is defined and contains Java
4545
When container is started with args
4646
| arg | value |
4747
| command | bash -c "$JAVA_HOME/bin/java -version" |
4848
Then available container log should contain OpenJDK Runtime Environment
4949

50-
@ubi8
50+
@openjdk-els
5151
Scenario: Check that certain non-UBI packages are not installed
5252
When container is started with args
5353
| arg | value |
@@ -64,7 +64,7 @@ Feature: Miscellaneous OpenJDK-related unit tests
6464
Then available container log should not contain java-11
6565
And available container log should not contain java-17
6666

67-
@ubi8/openjdk-11
67+
@openjdk-els/openjdk-11-rhel8
6868
Scenario: Check that directories from other JDKs are not present (JDK11)
6969
When container is started with args
7070
| arg | value |
@@ -94,8 +94,8 @@ Feature: Miscellaneous OpenJDK-related unit tests
9494

9595
@ubi8/openjdk-8
9696
@ubi8/openjdk-8-runtime
97-
@ubi8/openjdk-11
98-
@ubi8/openjdk-11-runtime
97+
@openjdk-els/openjdk-11-rhel8
98+
@openjdk-els/openjdk-11-runtime-rhel8
9999
@ubi8/openjdk-17
100100
@ubi8/openjdk-17-runtime
101101
Scenario: Ensure LANG is defined and contains UTF-8
@@ -105,7 +105,7 @@ Feature: Miscellaneous OpenJDK-related unit tests
105105
Then available container log should contain file.encoding = UTF-8
106106

107107
@ubi8/openjdk-8
108-
@ubi8/openjdk-11
108+
@openjdk-els/openjdk-11-rhel8
109109
@ubi8/openjdk-17
110110
Scenario: Check that transitive weak dependencies are not installed (OPENJDK-1335)
111111
When container is started with args
@@ -119,14 +119,14 @@ Feature: Miscellaneous OpenJDK-related unit tests
119119
Then container log should not contain libxkbcommon
120120
Then container log should not contain kbd
121121

122-
@ubi8
122+
@openjdk-els
123123
Scenario: Ensure tzdata RPM is properly installed (OPENJDK-2587)
124124
When container is started with args
125125
| arg | value |
126126
| command | rpm -V tzdata |
127127
Then available container log should not contain missing
128128

129-
@ubi8
129+
@openjdk-els
130130
Scenario: Ensure tar is installed (OPENJDK-2588)
131131
When container is started with args
132132
| arg | value |

modules/jolokia/8.2/tests/features/jolokia.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@ubi8/openjdk-8
2-
@ubi8/openjdk-11
2+
@openjdk-els/openjdk-11-rhel8
33
# Tests for jboss/container/jolokia
44
Feature: Openshift OpenJDK Jolokia tests
55

modules/jvm/api/tests/features/gc.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@ubi8
1+
@openjdk-els
22
Feature: Openshift OpenJDK GC tests
33

44
Scenario: Check default GC configuration

0 commit comments

Comments
 (0)