Skip to content

Commit 65d1a15

Browse files
committed
Adding test for Spring RMI changes, updated Groovy test to Java
1 parent 55f59c8 commit 65d1a15

File tree

6 files changed

+333
-182
lines changed

6 files changed

+333
-182
lines changed

instrumentation/spring/spring-rmi-4.0/javaagent/build.gradle.kts

+3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ dependencies {
1919

2020
library("org.springframework:spring-context:4.0.0.RELEASE")
2121
library("org.springframework:spring-aop:4.0.0.RELEASE")
22+
testLibrary("org.springframework:spring-test:4.0.0.RELEASE")
2223
testLibrary("org.springframework.boot:spring-boot:1.1.0.RELEASE")
24+
testLibrary("org.apache.openejb:javaee-api:5.0-1") // Added to test remote-slsb functionality
25+
testLibrary(project(":instrumentation:rmi:bootstrap")) // Used in EJB mock, see comments in springrmi.app.ejb.SpringRmiEjbMock
2326

2427
// rmi remoting was removed in spring 6
2528
latestDepTestLibrary("org.springframework:spring-context:5.+") // documented limitation

instrumentation/spring/spring-rmi-4.0/javaagent/src/test/groovy/SpringRmiTest.groovy

-182
This file was deleted.

0 commit comments

Comments
 (0)