Use testcontainers for MongoDB samples.

...with some exceptions for samples that require a replica set.

See #632
This commit is contained in:
Christoph Strobl
2021-10-05 12:40:38 +02:00
committed by Greg L. Turnquist
parent 2347077ccf
commit e53d9b5643
60 changed files with 666 additions and 82 deletions

View File

@@ -14,9 +14,15 @@
<dependencies>
<dependency>
<groupId>de.flapdoodle.embed</groupId>
<artifactId>de.flapdoodle.embed.mongo</artifactId>
<scope>provided</scope>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>mongodb</artifactId>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>
</dependencies>