MINOR: Make JUnit 5 the default for new projects (#9882)

Instead of listing the projects that should use JUnit 5, list the
projects that are still using JUnit 4.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
Ismael Juma 2021-01-14 05:16:43 -08:00 committed by GitHub
parent 966e9dd6a2
commit fa66ecef28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -241,7 +241,10 @@ subprojects {
}
}
def shouldUseJUnit5 = ["clients", "examples", "log4j-appender", "raft", "test-utils", "tools"].contains(it.project.name)
// Remove the relevant project name once it's converted to JUnit 5
def shouldUseJUnit5 = !(["api", "basic-auth-extension", "connect", "core", "file", "generator",
"json", "mirror", "mirorr-client", "runtime", "transform", "examples", "streams-scala",
"streams"].contains(it.project.name) || it.project.name.startsWith("upgrade-system-tests-"))
def testLoggingEvents = ["passed", "skipped", "failed"]
def testShowStandardStreams = false