WowContainers

The containers the integration tests run against: one image per backend, so every module tests the versions the others do.

The properties are shared: started on first use and kept for the rest of the JVM (Testcontainers removes them when it exits), so the TCK specs and fixtures of one module run on one container each. A new* function builds a container that is not started, for a test that owns its lifecycle: one that stops it, or configures it first.

Properties

Link copied to clipboard
val clickHouse: ClickHouseContainer
Link copied to clipboard
Link copied to clipboard
val elasticsearch: ElasticsearchContainer

A single node without security: connect over plain HTTP to its httpHostAddress.

Link copied to clipboard

The Elasticsearch image, the one 9.x's wow-tck tests against (ContainerImages.ELASTICSEARCH_*).

Link copied to clipboard
val kafka: ConfluentKafkaContainer
Link copied to clipboard
const val KAFKA_IMAGE: String
Link copied to clipboard
val mongo: MongoDBContainer

A single-node replica set: the MongoDB backend writes in transactions.

Link copied to clipboard
const val MONGO_IMAGE: String

The MongoDB image, the one 9.x's wow-tck tests against (ContainerImages.MONGO).

Link copied to clipboard
const val MONGO_URL: String

The system property naming a MongoDB cluster for mongoUrl.

Link copied to clipboard

The MongoDB the integration tests connect to: the cluster the system property MONGO_URL names when set, a replica set of three or a sharded cluster (test/mongo-cluster/cluster.sh), else mongo.

Link copied to clipboard
val postgres: PostgreSQLContainer
Link copied to clipboard

Functions

Link copied to clipboard
fun newClickHouse(): ClickHouseContainer
Link copied to clipboard
fun newElasticsearch(): ElasticsearchContainer

A single node without security (plain HTTP, no password) and a small heap, not started.

Link copied to clipboard
fun newKafka(): ConfluentKafkaContainer
Link copied to clipboard
fun newMongo(): MongoDBContainer

A single-node replica set, not started; connect through its replicaSetUrl.

Link copied to clipboard
fun newPostgres(): PostgreSQLContainer