Skip to content

chore: test cleanups#2657

Merged
mdelapenya merged 1 commit intotestcontainers:mainfrom
alexandear:chore/test-cleanup
Jul 17, 2024
Merged

chore: test cleanups#2657
mdelapenya merged 1 commit intotestcontainers:mainfrom
alexandear:chore/test-cleanup

Conversation

@alexandear
Copy link
Copy Markdown
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
@netlify
Copy link
Copy Markdown

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
Copy Markdown
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
@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