Skip to content

Commit

Permalink
Merge pull request quarkusio#34936 from kdubb/task/update-rabbitmq-3.12
Browse files Browse the repository at this point in the history
Update RabbitMQ DevServices container to 3.12
  • Loading branch information
geoand authored Jul 24, 2023
2 parents 65fc7c6 + 32dfdd5 commit ab18d1b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/rabbitmq.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ version: '2'
services:
rabbit:
image: rabbitmq:3.9-management
image: rabbitmq:3.12-management
ports:
- "5672:5672"
networks:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public static class Binding {
* Note that only official RabbitMQ images are supported.
* Specifically, the image repository must end with {@code rabbitmq}.
*/
@ConfigItem(defaultValue = "rabbitmq:3.9-management")
@ConfigItem(defaultValue = "rabbitmq:3.12-management")
public String imageName;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
import org.testcontainers.containers.RabbitMQContainer;
import org.testcontainers.utility.DockerImageName;

import io.quarkus.it.rabbitmq.RabbitMQConnectorDynCredsTest.VaultResource;
import io.quarkus.it.rabbitmq.RabbitMQConnectorDynCredsTest.RabbitMQResource;
import io.quarkus.test.common.QuarkusTestResource;
import io.quarkus.test.common.QuarkusTestResourceLifecycleManager;
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.common.mapper.TypeRef;

@QuarkusTest
@QuarkusTestResource(VaultResource.class)
@QuarkusTestResource(RabbitMQResource.class)
public class RabbitMQConnectorDynCredsTest {

public static class VaultResource implements QuarkusTestResourceLifecycleManager {
public static class RabbitMQResource implements QuarkusTestResourceLifecycleManager {

RabbitMQContainer rabbit;

Expand All @@ -33,7 +33,7 @@ public Map<String, String> start() {
String username = "tester";
String password = RandomStringUtils.random(10);

rabbit = new RabbitMQContainer(DockerImageName.parse("rabbitmq:3.9-management"))
rabbit = new RabbitMQContainer(DockerImageName.parse("rabbitmq:3.12-management"))
.withNetwork(Network.SHARED)
.withNetworkAliases("rabbitmq")
.withUser(username, password)
Expand Down

0 comments on commit ab18d1b

Please sign in to comment.