Commit 364987a
committed
The smoke tests were failing on Java 21 due to an incompatibility with the version of the
This commit addresses the issue by:
- Modifying the `agent/bin/test_projects` script to use a specific, known-good commit of `spring-petclinic` for Java 21 test runs. This is the same commit that is used for Java 17.
- Updating the `agent/bin/test_install` script to build the `annotation` project before the test fixtures, ensuring that the necessary annotation JAR is available to the Maven build.
- Removing a redundant `source` command from `agent/bin/test_install`.
With these changes, the project now builds and runs tests successfully on Java 21.spring-petclinic test fixture being used.1 parent ae72bbc commit 364987a
File tree
4 files changed
+5
-1
lines changed- agent/bin
- bats-libs
4 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments