Skip to content

Commit 42693a2

Browse files
committed
[OPENJDK-3448] Adjust Behave test tagging for new container names in RHEL8 Too
Adjusting behave test tagging for openjdk-els/openjdk-11-rhel8 and runtime. Signed-off-by: Antonio Vieiro <[email protected]>
1 parent 0ba0f74 commit 42693a2

File tree

24 files changed

+44
-104
lines changed

24 files changed

+44
-104
lines changed

.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

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
11
Feature: OPENJDK-559 JVM Memory tests
22

3-
@ubi8
3+
@openjdk-els
44
Scenario: Check default JVM max heap configuration
55
Given container is started as uid 1000
66
Then container log should contain -XX:MaxRAMPercentage=80.0
77
And container log should not contain -Xmx
88

9-
@ubi8
9+
@openjdk-els
1010
Scenario: Check configured JVM max heap configuration and ensure JAVA_MAX_MEM_RATIO accepts floats but only takes whole number part
1111
Given container is started with env
1212
| variable | value |
1313
| JAVA_MAX_MEM_RATIO | 90.4 |
1414
Then container log should contain -XX:MaxRAMPercentage=90.0
1515

16-
@ubi8
16+
@openjdk-els
1717
Scenario: Ensure JAVA_MAX_MEM_RATIO accepts Integers
1818
Given container is started with env
1919
| variable | value |
2020
| JAVA_MAX_MEM_RATIO | 90 |
2121
Then container log should contain -XX:MaxRAMPercentage=90.0
2222

23-
@ubi8
23+
@openjdk-els
2424
Scenario: Ensure JAVA_INITIAL_MEM_RATIO accepts Integers
2525
Given container is started with env
2626
| variable | value |
2727
| JAVA_INITIAL_MEM_RATIO | 10 |
2828
Then container log should contain -XX:InitialRAMPercentage=10.0
2929

30-
@ubi8
30+
@openjdk-els
3131
Scenario: Ensure JAVA_MAX_MEM_RATIO=0 disables parameter
3232
Given container is started with env
3333
| variable | value |
3434
| JAVA_MAX_MEM_RATIO | 0 |
3535
Then container log should not contain -XX:MaxRAMPercentage
3636

37-
@ubi8
37+
@openjdk-els
3838
Scenario: Check default JVM initial heap configuration is unspecified
3939
Given container is started as uid 1000
4040
Then container log should not contain -XX:InitialRAMPercentage
4141
And container log should not contain -Xms
4242

43-
@ubi8
43+
@openjdk-els
4444
Scenario: Check configured JVM max heap configuration and ensure JAVA_INITIAL_MEM_RATIO accepts floats but only takes whole number part
4545
Given container is started with env
4646
| variable | value |
4747
| JAVA_INITIAL_MEM_RATIO | 25.2 |
4848
Then container log should contain -XX:InitialRAMPercentage=25.0
4949

50-
@ubi8
50+
@openjdk-els
5151
Scenario: check JAVA_MAX_INITIAL_MEM overrides JAVA_INITIAL_MEM_RATIO
5252
Given container is started with env
5353
| variable | value |
@@ -58,7 +58,7 @@ Feature: OPENJDK-559 JVM Memory tests
5858

5959
# Not the runtime images
6060
@ubi8/openjdk-8
61-
@ubi8/openjdk-11
61+
@openjdk-els/openjdk-11-rhel8
6262
@ubi8/openjdk-17
6363
@ubi8/openjdk-21
6464
Scenario: Ensure Maven doesn't use MaxRAMPercentage=80

0 commit comments

Comments
 (0)