From c1325d653751e97bd55453433b587e75d26443bc Mon Sep 17 00:00:00 2001 From: Lemuria <74448738+a-random-lemurian@users.noreply.github.com> Date: Mon, 9 Jun 2025 15:06:30 +0800 Subject: [PATCH] fix: Use rabbitmq:4.1.1-alpine in integration test --- integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration_test.go b/integration_test.go index c6b8014..5df151e 100644 --- a/integration_test.go +++ b/integration_test.go @@ -20,7 +20,7 @@ func prepareDockerTest(t *testing.T) (connStr string) { ctx, cancel := context.WithCancel(context.Background()) defer cancel() - out, err := exec.CommandContext(ctx, "docker", "run", "--rm", "--detach", "--publish=5672:5672", "--quiet", "--", "rabbitmq:3-alpine").Output() + out, err := exec.CommandContext(ctx, "docker", "run", "--rm", "--detach", "--publish=5672:5672", "--quiet", "--", "rabbitmq:4.1.1-alpine").Output() if err != nil { t.Log("container id", string(out)) t.Fatalf("error launching rabbitmq in docker: %v", err)