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

feat: Add wait strategy options #1168

Merged
merged 2 commits into from
May 3, 2024

Conversation

HofmeisterAn
Copy link
Collaborator

What does this PR do?

The pull request extends the IWaitForContainerOS interface and adds an optional argument to the members, allowing the configuration of individual wait strategies. These changes enable configuration of the maximum number of retries, the interval (time) between each retry, and a timeout after the readiness check is canceled.

In addition to this newly added approach, developers can cancel the container start, as is common in .NET, utilizing a cancellation token.

Why is it important?

-

Related issues

Follow-ups

Signed-off-by: Andre Hofmeister <9199345+HofmeisterAn@users.noreply.github.com>
@HofmeisterAn HofmeisterAn added the enhancement New feature or request label May 3, 2024
Copy link

netlify bot commented May 3, 2024

Deploy Preview for testcontainers-dotnet ready!

Name Link
🔨 Latest commit acac307
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-dotnet/deploys/6634ed83a3852300086a1b0e
😎 Deploy Preview https://deploy-preview-1168--testcontainers-dotnet.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.

@HofmeisterAn HofmeisterAn added the breaking change Causing compatibility issues label May 3, 2024
@HofmeisterAn HofmeisterAn merged commit 82a0d32 into develop May 3, 2024
14 checks passed
@HofmeisterAn HofmeisterAn deleted the feature/refactor-wait-strategy-api branch May 3, 2024 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Causing compatibility issues enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement]: Add convenient features to wait strategies
1 participant