Skip to content

bug:Fix AMQPS url#2462

Merged
mdelapenya merged 3 commits intotestcontainers:mainfrom
bearrito:bug/amqp-to-amqps
Apr 3, 2024
Merged

bug:Fix AMQPS url#2462
mdelapenya merged 3 commits intotestcontainers:mainfrom
bearrito:bug/amqp-to-amqps

Conversation

@bearrito
Copy link
Contributor

@bearrito bearrito commented Apr 2, 2024

Fixes AQMPS url

What does this PR do?

Fixes the AMQPS URL. Adds test.

Why is it important?

User reported an issue - #2457

Related issues

How to test this PR

Will include unit-tests covering aqmps/tls

This currently won't work, while the AMQPS url is fixed it looks like container doesn't support TLS. I'll see if I can resolve that without too much difficulty.

@bearrito bearrito requested a review from a team as a code owner April 2, 2024 01:24
@netlify
Copy link

netlify bot commented Apr 2, 2024

Deploy Preview for testcontainers-go ready!

Name Link
🔨 Latest commit a01d45b
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-go/deploys/660b790f28d8350008db924f
😎 Deploy Preview https://deploy-preview-2462--testcontainers-go.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@bearrito bearrito closed this Apr 2, 2024
@bearrito bearrito reopened this Apr 2, 2024
Copy link
Member

@mdelapenya mdelapenya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@mdelapenya mdelapenya self-assigned this Apr 3, 2024
@mdelapenya mdelapenya added the bug An issue with the library label Apr 3, 2024
@mdelapenya mdelapenya merged commit 2d89e90 into testcontainers:main Apr 3, 2024
mdelapenya added a commit to gustavosbarreto/testcontainers-go that referenced this pull request Apr 3, 2024
* main:
  bug:Fix AMQPS url (testcontainers#2462)
  chore: more compose updates in comments
  chore: use "docker compose" (v2) instead of "docker-compose" (v1) (testcontainers#2464)
  chore(deps): bump github/codeql-action from 2.22.12 to 3.24.9 (testcontainers#2459)
@bearrito
Copy link
Contributor Author

bearrito commented Apr 4, 2024

@mdelapenya Just wondering, what sort of tests belong in examples vs in the modules test?
I think the tests I added belong in the modules test because they cover a regression , but I often see the examples covering more code surface.

@mdelapenya
Copy link
Member

@bearrito I always suffer from the same: if we want to create a code snippet that lands into the pkg.go.dev docs, something that is completely copy&pasteable, then I'd say it goes as a testable example. Otherwise, covering regressions, then to real tests. But I see you, I many times see duplication in how we write tests Vs testable examples

mdelapenya added a commit to coffeegoddd/testcontainers-go that referenced this pull request Apr 12, 2024
* main: (115 commits)
  chore: create TLS certs in a consistent manner (testcontainers#2478)
  chore(deps): bump idna from 3.6 to 3.7 (testcontainers#2480)
  Elasticsearch disable CA retrieval when ssl is disabled (testcontainers#2475)
  fix: handle dockerignore exclusions properly (testcontainers#2476)
  chore: prepare for next minor development cycle (0.31.0)
  chore: use new version (v0.30.0) in modules and examples
  Fix url creation to handle query params when using HTTP wait strategy (testcontainers#2466)
  fix: data race on container run (testcontainers#2345)
  fix: logging deadlock (testcontainers#2346)
  feat(k6):Add remote test scripts (testcontainers#2350)
  feat: optimizes file copies to and from containers (testcontainers#2450)
  fix(exec): updates the `Multiplexed` opt to combine stdout and stderr (testcontainers#2452)
  Upgrade neo4j module to use features from v0.29.1 of testcontainers-go (testcontainers#2463)
  bug:Fix AMQPS url (testcontainers#2462)
  chore: more compose updates in comments
  chore: use "docker compose" (v2) instead of "docker-compose" (v1) (testcontainers#2464)
  chore(deps): bump github/codeql-action from 2.22.12 to 3.24.9 (testcontainers#2459)
  refactor: Add Weaviate modules tests (testcontainers#2447)
  feat(exitcode): Add exit code sugar method (testcontainers#2342)
  feat: add module to support InfluxDB v1.x (testcontainers#1703)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug An issue with the library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: AmqpsURL() function returns AMQP url

2 participants