testcontainers / testcontainers-dotnet

A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
https://dotnet.testcontainers.org
MIT License
3.77k stars 271 forks source link

refactor: Cache Docker image full and host name #1043

Closed HofmeisterAn closed 11 months ago

HofmeisterAn commented 11 months ago

What does this PR do?

Initializes the Docker image, full and host name property lazy and once.

Why is it important?

The previous implementation delegated and created the values of the properties for each call. This PR addresses this issue and ensures that the values are created only once.

Related issues

-

netlify[bot] commented 11 months ago

Deploy Preview for testcontainers-dotnet ready!

Name Link
Latest commit f5ea4ffc2b15211d83d4773599fc862082ad7f10
Latest deploy log https://app.netlify.com/sites/testcontainers-dotnet/deploys/6547ae549978e3000845e2d8
Deploy Preview https://deploy-preview-1043--testcontainers-dotnet.netlify.app/modules
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.