Merge pull request #42426 from quaff
* pr/42426: Polish javadoc of TestImage for consistency Closes gh-42426
This commit is contained in:
		
						commit
						7a176bc205
					
				| 
						 | 
				
			
			@ -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")
 | 
			
		||||
| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			@ -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"),
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue