diff --git a/instrumentation/servlet/glassfish-testing/glassfish-testing.gradle b/instrumentation/servlet/glassfish-testing/glassfish-testing.gradle index f049df2748..be7e314d88 100644 --- a/instrumentation/servlet/glassfish-testing/glassfish-testing.gradle +++ b/instrumentation/servlet/glassfish-testing/glassfish-testing.gradle @@ -10,7 +10,8 @@ dependencies { testInstrumentation project(':instrumentation:servlet:servlet-javax-common:javaagent') testInstrumentation project(':instrumentation:grizzly-2.0:javaagent') - testLibrary "org.glassfish.main.extras:glassfish-embedded-all:4.0" + // NB: testLibrary fails for some reason. + testImplementation "org.glassfish.main.extras:glassfish-embedded-all:4.0" latestDepTestLibrary "org.glassfish.main.extras:glassfish-embedded-all:5.1.0" }