mirror of https://github.com/apache/kafka.git
KAFKA-12203 Migrate connect:mirror-client module to JUnit 5 (#9889)
Reviewers: Ismael Juma <ismael@juma.me.uk>
This commit is contained in:
parent
c49f660c62
commit
0c92b8398d
|
@ -242,9 +242,9 @@ subprojects {
|
|||
}
|
||||
|
||||
// Remove the relevant project name once it's converted to JUnit 5
|
||||
def shouldUseJUnit5 = !(["api", "connect", "core", "file", "generator",
|
||||
"json", "mirror", "mirror-client", "runtime", "transform", "streams-scala",
|
||||
"streams"].contains(it.project.name) || it.project.name.startsWith("upgrade-system-tests-"))
|
||||
def shouldUseJUnit5 = !(["api", "connect", "core", "file", "generator", "json", "mirror",
|
||||
"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
|
||||
|
@ -2200,8 +2200,7 @@ project(':connect:mirror-client') {
|
|||
compile project(':clients')
|
||||
compile libs.slf4jApi
|
||||
|
||||
testCompile libs.junitJupiterApi
|
||||
testCompile libs.junitVintageEngine
|
||||
testCompile libs.junitJupiter
|
||||
testCompile project(':clients').sourceSets.test.output
|
||||
|
||||
testRuntime libs.slf4jlog4j
|
||||
|
|
|
@ -25,11 +25,11 @@ import java.util.HashSet;
|
|||
import java.util.Arrays;
|
||||
import java.util.concurrent.TimeoutException;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||
|
||||
public class MirrorClientTest {
|
||||
|
||||
|
|
Loading…
Reference in New Issue