Browse Source

fix: Use rabbitmq:4.1.1-alpine in integration test

pull/201/head
Lemuria 6 months ago
parent
commit
c1325d6537
No known key found for this signature in database GPG Key ID: DC06EAC1C362CCF6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      integration_test.go

+ 1
- 1
integration_test.go View File

@ -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)


Loading…
Cancel
Save