Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: test cleanups #2657

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Conversation

alexandear
Copy link
Contributor

What does this PR do?

Refactor tests by using t.TempDir instead of os.TempDir, t.Fatal instead of log.Fatal.

Why is it important?

This simplifies and unifies tests without harming readability.

@alexandear alexandear requested a review from a team as a code owner July 17, 2024 10:54
Copy link

netlify bot commented Jul 17, 2024

Deploy Preview for testcontainers-go ready!

Name Link
🔨 Latest commit f88e7a2
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-go/deploys/6697a2fa7303eb00083d2d42
😎 Deploy Preview https://deploy-preview-2657--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.

@mdelapenya mdelapenya self-assigned this Jul 17, 2024
@mdelapenya mdelapenya added the chore Changes that do not impact the existing functionality label Jul 17, 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 merged commit 66006b2 into testcontainers:main Jul 17, 2024
108 checks passed
@alexandear alexandear deleted the chore/test-cleanup branch July 17, 2024 11:50
mdelapenya added a commit that referenced this pull request Aug 5, 2024
* main:
  feat: add grafana-lgtm module (#2660)
  Added valkey module (#2639)
  fix: container.Endpoint and wait.FortHTTP to use lowest internal port (#2641)
  chore: test cleanups (#2657)
  docs: fix compilation of examples (#2656)
  feat: add custom container registry substitutor (#2647)
  fix: couchbase containers intermittently hang on startup (#2650)
  chore(deps): bump Ryuk to 0.8.1 (#2648)
  fix: retry on label error (#2644)
  perf: optimise docker authentication config lookup (#2646)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Changes that do not impact the existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants