Skip to content

Commit 833c273

Browse files
committed
dash
Signed-off-by: appleboy <[email protected]>
1 parent dfe149e commit 833c273

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

rabbitmq_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ func setupRabbitMQContainer(ctx context.Context, t *testing.T) (testcontainers.C
3636
req := testcontainers.ContainerRequest{
3737
Image: "rabbitmq:3-management",
3838
ExposedPorts: []string{
39-
"5672/tcp", // amqp
40-
"15672/tcp", // management plugin
39+
"5672/tcp", // amqp
4140
},
4241
WaitingFor: wait.ForListeningPort("5672/tcp"),
4342
Env: map[string]string{
@@ -61,7 +60,7 @@ func TestShutdownWorkFlow(t *testing.T) {
6160
ctx := context.Background()
6261
natsC, endpoint := setupRabbitMQContainer(ctx, t)
6362
defer testcontainers.CleanupContainer(t, natsC)
64-
log.Println(endpoint)
63+
log.Println("RabbitMQ endpoint:", endpoint)
6564
w := NewWorker(
6665
WithQueue("test"),
6766
WithAddr(fmt.Sprintf("amqp://guest:guest@%s/", endpoint)),

0 commit comments

Comments
 (0)