Remove ExpensiveTest
MODIFY
dd-java-agent-ittests/dd-java-agent-ittests.gradle
dd-java-agent-ittests/dd-java-agent-ittests.gradle
@@ -56,35 +56,7 @@ test {
if (project.hasProperty("disableShadowRelocate") && disableShadowRelocate) {
exclude 'com/datadoghq/agent/ShadowPackageRenamingTest.class'
}
-
- useJUnit {
- excludeCategories 'com.datadoghq.agent.integration.ExpensiveTest'
- }
-}
-
-task expensiveTest(type: Test) {
- jvmArgs "-Ddd.writer.type=ListWriter", "-Ddd.service.name=java-app"
- jvmArgs "-Ddd.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:${project(':dd-java-agent').tasks.shadowJar.archivePath}"
- }
-
- testLogging {
- events "started"
- }
-
- if (project.hasProperty("disableShadowRelocate") && disableShadowRelocate) {
- exclude 'com/datadoghq/agent/ShadowPackageRenamingTest.class'
- }
-
- useJUnit {
- includeCategories 'com.datadoghq.agent.integration.ExpensiveTest'
- }
}
-test.finalizedBy expensiveTest
test.dependsOn project(':dd-java-agent').shadowJar

DELETE
dd-java-agent-ittests/src/test/java/com/datadoghq/agent/integration/ExpensiveTest.java
-package com.datadoghq.agent.integration;
-
-interface ExpensiveTest {}

Remove ExpensiveTest