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: Replace custom wait strategy with default strategies #1059

Merged

Conversation

ShirAvneri
Copy link
Contributor

@ShirAvneri ShirAvneri commented Dec 1, 2023

What does this PR do?

Replacing redundant custom wait strategy implementations with the corresponding IWaitForContainerOS methods.

Why is it important?

Ensuring all modules are consistent and removing redundant code.

How to test this PR

Run the corresponding tests projects for the changed modules.

Copy link

netlify bot commented Dec 1, 2023

Deploy Preview for testcontainers-dotnet ready!

Name Link
🔨 Latest commit d1c0e32
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-dotnet/deploys/656ce76a8b28cd0008e22254
😎 Deploy Preview https://deploy-preview-1059--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.

@ShirAvneri
Copy link
Contributor Author

@HofmeisterAn can you please review?

src/Testcontainers.Elasticsearch/ElasticsearchBuilder.cs Outdated Show resolved Hide resolved
src/Testcontainers.MariaDb/MariaDbBuilder.cs Outdated Show resolved Hide resolved
src/Testcontainers.MsSql/MsSqlBuilder.cs Outdated Show resolved Hide resolved
src/Testcontainers.MySql/MySqlBuilder.cs Outdated Show resolved Hide resolved
@HofmeisterAn
Copy link
Collaborator

Thanks for the PR. I would like to keep some of the previous implementations, but most of it looks good. Thanks!

@HofmeisterAn HofmeisterAn added the chore A change that doesn't impact the existing functionality, e.g. internal refactorings or cleanups label Dec 4, 2023
@HofmeisterAn HofmeisterAn changed the title chore: Align TC modules' wait strategy implementations chore: Replace custom wait strategy with default strategies Dec 4, 2023
@HofmeisterAn HofmeisterAn merged commit ae37ad4 into testcontainers:develop Dec 4, 2023
9 checks passed
@ShirAvneri ShirAvneri deleted the feature/align_wait_strategy branch December 4, 2023 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore A change that doesn't impact the existing functionality, e.g. internal refactorings or cleanups
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants