Skip to content

Commit

Permalink
Skip test with JDK 17 and EP 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
msridhar committed Jul 14, 2023
1 parent 5671a2a commit b23a7e1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nullaway/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@ test {
// Accessed by Lombok tests
"--add-opens=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED",
]
if (deps.versions.errorProneApi == "2.4.0" && JavaVersion.current() >= JavaVersion.VERSION_17) {
// This test does not pass on JDK 17 with Error Prone 2.4.0 due to a Mockito incompatibility. Skip it (the
// test still runs with more recent Error Prone versions)
filter {
excludeTestsMatching "com.uber.nullaway.NullAwaySerializationTest.suggestNullableArgumentOnBytecodeNoFileInfo"
}
}
}

apply plugin: 'com.vanniktech.maven.publish'
Expand Down

0 comments on commit b23a7e1

Please sign in to comment.