@@ -111,6 +111,9 @@ dependencies {
111111 exclude group : ' org.hamcrest'
112112 exclude group : ' org.ow2.asm'
113113 }
114+ testRuntimeOnly(" org.junit.vintage:junit-vintage-engine" ) {
115+ because ' allows JUnit 3 and JUnit 4 tests to run'
116+ }
114117
115118 testCommonAnnotationProcessor ' org.immutables:value'
116119 testCommonCompileOnly ' org.immutables:value::annotations'
@@ -155,6 +158,9 @@ dependencies {
155158 testCommonImplementation (project(' :atlasdb-tests-shared' )) {
156159 exclude group : ' com.fasterxml.jackson.jaxrs'
157160 }
161+ testCommonRuntimeOnly(" org.junit.vintage:junit-vintage-engine" ) {
162+ because ' allows JUnit 3 and JUnit 4 tests to run'
163+ }
158164
159165 testCommonApi ' io.dropwizard:dropwizard-testing'
160166 testCommonApi ' com.github.peterwippermann.junit4:parameterized-suite'
@@ -175,10 +181,16 @@ dependencies {
175181 suiteTestImplementation project(' :timelock-api:timelock-api-objects' )
176182 suiteTestImplementation project(' :timelock-impl' )
177183 suiteTestImplementation project(' :timestamp-api' )
184+ suiteTestRuntimeOnly(" org.junit.vintage:junit-vintage-engine" ) {
185+ because ' allows JUnit 3 and JUnit 4 tests to run'
186+ }
178187
179188 stressTestImplementation ' com.google.guava:guava'
180189 stressTestImplementation ' com.palantir.tokens:auth-tokens'
181190 stressTestImplementation project(' :timelock-api:timelock-api-jersey' )
191+ stressTestRuntimeOnly(" org.junit.vintage:junit-vintage-engine" ) {
192+ because ' allows JUnit 3 and JUnit 4 tests to run'
193+ }
182194
183195 // TODO(fdesouza): Remove this once PDS-95791 is resolved.
184196 integTestImplementation project(' :examples:profile-client' )
@@ -207,4 +219,7 @@ dependencies {
207219 integTestImplementation project(' :timelock-api:timelock-api-objects' )
208220 integTestImplementation project(' :timelock-impl' )
209221 integTestImplementation project(' :timestamp-api' )
222+ integTestRuntimeOnly(" org.junit.vintage:junit-vintage-engine" ) {
223+ because ' allows JUnit 3 and JUnit 4 tests to run'
224+ }
210225}
0 commit comments