Skip to content

Commit 7352bf4

Browse files
committed
fix failure
1 parent a94e0ec commit 7352bf4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

javaagent-tooling/build.gradle.kts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,18 @@ testing {
8787
// Used by byte-buddy but not brought in as a transitive dependency.
8888
compileOnly("com.google.code.findbugs:annotations")
8989
}
90+
targets {
91+
all {
92+
testTask.configure {
93+
filter {
94+
// Helper class used in test that refers to a class that is missing from the test
95+
// classpath. We need to exclude it to avoid junit failing while it is searching for
96+
// test classes.
97+
excludeTestsMatching("MissingTypeTest\$SomeClass")
98+
}
99+
}
100+
}
101+
}
90102
}
91103

92104
val testPatchBytecodeVersion by registering(JvmTestSuite::class) {

0 commit comments

Comments
 (0)