Commit 5141de2
committed
feat(tests): Add Java version check for bats tests
- Introduced a `_require_java_version` helper function in
`agent/test/helper.bash` to allow bats tests to specify a minimum
required Java version. Tests will be skipped if the current Java
version is below the requirement.
- Applied the Java 11 requirement to the `gretty-tomcat` bats tests to
ensure they run in a compatible environment.1 parent ca19ab0 commit 5141de2
2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
| |||
0 commit comments