Review maven configuration for testcontainers 08/122808/1
authorBruno Sakoto <bruno.sakoto@bell.ca>
Wed, 21 Jul 2021 22:26:07 +0000 (18:26 -0400)
committerBruno Sakoto <bruno.sakoto@bell.ca>
Wed, 21 Jul 2021 22:27:32 +0000 (18:27 -0400)
commitbc5644f4b972f4f000043dd6c99ec828bde39730
treebb806a6c882d93ae7bcae5a8fac39a9f6f9e3a02
parent092d4a0b4eb6011b16d223f0c1d5072fdb5f6abb
Review maven configuration for testcontainers

Maven build was not failing when test containers are not able to run
because of following maven surefire plugin bug:

* https://github.com/junit-team/junit5/issues/2178
* https://issues.apache.org/jira/browse/SUREFIRE-1688

This bug is fixed in surefire 3.0.0-M5. Then, 3.0.0-M4 version coming
from oparent is now overridden in pom plugin management.

This commit also improves spock testcontainers integration by using
the appropriate spock dependency.

Issue-ID: CPS-515
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: I3ad902e598ece31601115d6484e520b6321ce8dd
pom.xml
src/test/groovy/org/onap/cps/temporal/controller/event/listener/kafka/DataUpdatedEventListenerIntegrationSpec.groovy
src/test/groovy/org/onap/cps/temporal/repository/NetworkDataRepositorySpec.groovy