-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #465 from jhuttana/ubi8-runtime-feature
[OPENJDK-2722] Split the tests inside tests/features/java/runtime.feature to couple them with appropriate modules
- Loading branch information
Showing
3 changed files
with
55 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@ubi8/openjdk-8 | ||
@ubi8/openjdk-11 | ||
@ubi8/openjdk-17 | ||
@ubi8/openjdk-21 | ||
Feature: OpenJDK Runtime tests | ||
|
||
@ubi8 | ||
Scenario: Check JAVA_OPTS overrides defaults (OPENJDK-2009) | ||
Given container is started with env | ||
| variable | value | | ||
| JAVA_OPTS | --show-version | | ||
Then container log should not contain -XX:MaxRAMPercentage | ||
|
||
@ubi8 | ||
Scenario: Check empty JAVA_OPTS overrides defaults (OPENJDK-2009) | ||
Given container is started with env | ||
| variable | value | | ||
| JAVA_OPTS | | | ||
Then container log should not contain -XX:MaxRAMPercentage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@ubi8/openjdk-8 | ||
@ubi8/openjdk-11 | ||
@ubi8/openjdk-17 | ||
@ubi8/openjdk-21 | ||
Feature: OpenJDK JAVA s2i Runtime tests | ||
|
||
Scenario: JAVA_OPTIONS sets JAVA_OPTS and overrides defaults (OPENJDK-2009) | ||
Given container is started with env | ||
| variable | value | | ||
| JAVA_OPTIONS | --show-version | | ||
Then container log should not contain -XX:MaxRAMPercentage | ||
And container log should contain --show-version |