4
4
@ubi8/openjdk-21
5
5
Feature : OpenJDK Runtime tests
6
6
7
- @ubi8
8
- Scenario : Check JAVA_APP_NAME can contain spaces (OPENJDK-104)
9
- Given container is started with env
10
- | variable | value |
11
- | JAVA_APP_NAME | foo bar |
12
- Then container log should not contain exec: bar': not found
13
-
14
7
@ubi8
15
8
Scenario : Check JAVA_OPTS overrides defaults (OPENJDK-2009)
16
9
Given container is started with env
@@ -24,36 +17,3 @@ Feature: OpenJDK Runtime tests
24
17
| variable | value |
25
18
| JAVA_OPTS | |
26
19
Then container log should not contain -XX:MaxRAMPercentage
27
-
28
- Scenario : JAVA_OPTIONS sets JAVA_OPTS and overrides defaults (OPENJDK-2009)
29
- Given container is started with env
30
- | variable | value |
31
- | JAVA_OPTIONS | --show -version |
32
- Then container log should not contain -XX:MaxRAMPercentage
33
- And container log should contain --show-version
34
-
35
- @ubi8
36
- Scenario : Check default JAVA_APP_DIR (OPENJDK-2033)
37
- When container is ready
38
- Then available container log should contain INFO running in /deployments
39
-
40
- @ubi8
41
- Scenario : Check custom JAVA_APP_DIR (OPENJDK-2033)
42
- Given container is started with env
43
- | variable | value |
44
- | JAVA_APP_DIR | /home /jboss |
45
- Then available container log should contain INFO running in /home/jboss
46
-
47
- @ubi8
48
- Scenario : Check relative path JAVA_APP_DIR (OPENJDK-2033)
49
- Given container is started with env
50
- | variable | value |
51
- | JAVA_APP_DIR | . |
52
- Then available container log should contain INFO running in /home/jboss
53
-
54
- @ubi8
55
- Scenario : Check non-existent path JAVA_APP_DIR (OPENJDK-2033)
56
- Given container is started with env
57
- | variable | value |
58
- | JAVA_APP_DIR | /nope |
59
- Then available container log should contain ERROR No directory /nope found for auto detection
0 commit comments