Add test for RabbitMQ smoke test

Closes gh-36610
This commit is contained in:
Stephane Nicoll
2023-07-27 14:51:50 +02:00
parent 2dbc1f4c75
commit 87554fb4dc
6 changed files with 89 additions and 13 deletions

View File

@@ -36,6 +36,8 @@ public final class DockerImageNames {
private static final String POSTGRESQL_VERSION = "14.0";
private static final String RABBIT_VERSION = "3.11-alpine";
private static final String REDIS_VERSION = "4.0.14";
private static final String REGISTRY_VERSION = "2.7.1";
@@ -93,6 +95,14 @@ public final class DockerImageNames {
return DockerImageName.parse("postgres").withTag(POSTGRESQL_VERSION);
}
/**
* Return a {@link DockerImageName} suitable for running RabbitMQ.
* @return a docker image name for running redis
*/
public static DockerImageName rabbit() {
return DockerImageName.parse("rabbitmq").withTag(RABBIT_VERSION);
}
/**
* Return a {@link DockerImageName} suitable for running Redis.
* @return a docker image name for running redis