Skip to content

Polish javadoc of TestImage for consistency #42426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,14 @@ public enum TestImage {
(container) -> ((CassandraContainer<?>) container).withStartupTimeout(Duration.ofMinutes(10))),

/**
* A Docker image suitable for running.
* A container image suitable for testing Couchbase.
*/
COUCHBASE("couchbase/server", "7.1.4", () -> CouchbaseContainer.class,
(container) -> ((CouchbaseContainer) container).withStartupAttempts(5)
.withStartupTimeout(Duration.ofMinutes(10))),

/**
* A Docker image suitable for Elasticsearch 7.
* A container image suitable for testing Elasticsearch 7.
*/
ELASTICSEARCH("docker.elastic.co/elasticsearch/elasticsearch", "7.17.5", () -> ElasticsearchContainer.class,
(container) -> ((ElasticsearchContainer) container).withEnv("ES_JAVA_OPTS", "-Xms32m -Xmx512m")
Expand Down Expand Up @@ -130,7 +130,7 @@ public enum TestImage {
MARIADB("mariadb", "10.10"),

/**
* A Docker image suitable for MongoDB.
* A container image suitable for testing MongoDB.
*/
MONGODB("mongo", "5.0.17", () -> MongoDBContainer.class,
(container) -> ((MongoDBContainer) container).withStartupAttempts(5)
Expand Down Expand Up @@ -213,7 +213,7 @@ public enum TestImage {
(container) -> ((RedpandaContainer) container).withStartupTimeout(Duration.ofMinutes(5))),

/**
* A container image suitable for testing a Docker registry.
* A container image suitable for testing Docker Registry.
*/
REGISTRY("registry", "2.7.1", () -> RegistryContainer.class,
(container) -> ((RegistryContainer) container).withStartupAttempts(5)
Expand Down Expand Up @@ -245,7 +245,7 @@ public enum TestImage {
BITNAMI_MARIADB("bitnami/mariadb", "11.2.3"),

/**
* A Docker image suitable for MongoDB via Bitnami.
* A container image suitable for testing MongoDB via Bitnami.
*/
BITNAMI_MONGODB("bitnami/mongodb", "7.0.5"),

Expand Down