Skip to content

Commit 7c5ce99

Browse files
committed
Tag Behave tests for JDK17
Signed-off-by: Jonathan Dowland <[email protected]>
1 parent bdd34f3 commit 7c5ce99

File tree

10 files changed

+21
-0
lines changed

10 files changed

+21
-0
lines changed

tests/features/java.security.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@openjdk
22
@ubi8/openjdk-8
33
@ubi8/openjdk-11
4+
@ubi8/openjdk-17
45
@redhat-openjdk-18
56
Feature: Openshift S2I tests
67
Scenario: Check networkaddress.cache.negative.ttl has been set correctly

tests/features/java/gc.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@openjdk
22
@ubi8/openjdk-8
33
@ubi8/openjdk-11
4+
@ubi8/openjdk-17
45
@redhat-openjdk-18
56
@openj9
67
Feature: Openshift OpenJDK GC tests

tests/features/java/java_s2i.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@openjdk
22
@ubi8/openjdk-8
33
@ubi8/openjdk-11
4+
@ubi8/openjdk-17
45
@redhat-openjdk-18
56
@openj9
67
Feature: Openshift OpenJDK S2I tests

tests/features/java/java_s2i_inc.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@openjdk
22
@ubi8/openjdk-8
33
@ubi8/openjdk-11
4+
@ubi8/openjdk-17
45
@redhat-openjdk-18
56
@openj9
67
Feature: Openshift OpenJDK S2I tests

tests/features/java/openjdk.feature

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Feature: Miscellaneous OpenJDK-related unit tests
1212
| arg | value |
1313
| command | rpm -qa |
1414
Then available container log should not contain java-11
15+
Then available container log should not contain java-17
1516

1617
@openjdk/openjdk-11-rhel7
1718
@openjdk/openjdk-11-ubi8
@@ -23,6 +24,15 @@ Feature: Miscellaneous OpenJDK-related unit tests
2324
| arg | value |
2425
| command | rpm -qa |
2526
Then available container log should not contain java-1.8.0
27+
Then available container log should not contain java-17
28+
29+
@ubi8/openjdk-17
30+
Scenario: Check that only OpenJDK 17 is installed
31+
When container is started with args
32+
| arg | value |
33+
| command | rpm -qa |
34+
Then available container log should not contain java-1.8.0
35+
Then available container log should not contain java-11
2636

2737
@ubi8
2838
@openjdk

tests/features/java/ports.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@openjdk
22
@ubi8/openjdk-8
33
@ubi8/openjdk-11
4+
@ubi8/openjdk-17
45
@redhat-openjdk-18
56
@openj9
67
Feature: Openshift OpenJDK port tests

tests/features/java/runtime.feature

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Feature: Openshift OpenJDK Runtime tests
33
@openjdk
44
@ubi8/openjdk-8
55
@ubi8/openjdk-11
6+
@ubi8/openjdk-17
67
@redhat-openjdk-18
78
@openj9
89
Scenario: Ensure JVM_ARGS is no longer present in the run script
@@ -12,6 +13,7 @@ Feature: Openshift OpenJDK Runtime tests
1213
@openjdk
1314
@ubi8/openjdk-8
1415
@ubi8/openjdk-11
16+
@ubi8/openjdk-17
1517
@redhat-openjdk-18
1618
@openj9
1719
Scenario: Ensure JAVA_ARGS are passed through to the running java application
@@ -23,6 +25,7 @@ Feature: Openshift OpenJDK Runtime tests
2325
@openjdk
2426
@ubi8/openjdk-8
2527
@ubi8/openjdk-11
28+
@ubi8/openjdk-17
2629
@redhat-openjdk-18
2730
# Not @openj9 yet, we do not set any specific options for it yet
2831
Scenario: Ensure diagnostic options work correctly

tests/features/openshift.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@openjdk
22
@ubi8/openjdk-8
33
@ubi8/openjdk-11
4+
@ubi8/openjdk-17
45
@redhat-openjdk-18
56
Feature: Tests for all openshift images
67

tests/features/prometheus.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
@openj9
44
@ubi8/openjdk-8
55
@ubi8/openjdk-11
6+
@ubi8/openjdk-17
67
Feature: Prometheus agent tests
78

89
Scenario: Verify API and defaults

tests/features/s2i-core.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@openjdk
22
@ubi8/openjdk-8
33
@ubi8/openjdk-11
4+
@ubi8/openjdk-17
45
@redhat-openjdk-18
56
@openj9
67
Feature: Openshift S2I tests

0 commit comments

Comments
 (0)