Some tests need the agent jar loaded as an agent
This commit is contained in:
parent
ba6ff678db
commit
1a26e73ae8
|
@ -126,6 +126,11 @@ tasks.withType(Test).configureEach {
|
|||
// jvmArgs "-Ddatadog.slf4j.simpleLogger.defaultLogLevel=debug"
|
||||
// jvmArgs "-Dorg.slf4j.simpleLogger.defaultLogLevel=debug"
|
||||
|
||||
doFirst {
|
||||
// Defining here to allow jacoco to be first on the command line.
|
||||
jvmArgs "-javaagent:${shadowJar.archivePath}"
|
||||
}
|
||||
|
||||
testLogging {
|
||||
events "started"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue