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

Support for waiting on tcp port to open #12

Merged
merged 5 commits into from
Jul 16, 2024

Conversation

dinamic
Copy link

@dinamic dinamic commented Jul 15, 2024

Changes:

  • Introduced DockerContainerAwareTrait to aid code reuse with common Docker commands
  • Introduced WaitForTcpPortOpen
  • Resolved PHPStan issues

The PR turned bigger than expected because of some unresolved issues with phpstan with the current main branch. I took the opportunity and made the logic for determining the container address reusable as a trait. I did a few refactorings as well.

@dinamic dinamic force-pushed the feature/wait-for-port branch 4 times, most recently from f690a1f to 3f046cc Compare July 15, 2024 23:18
@dinamic dinamic force-pushed the feature/wait-for-port branch from 3f046cc to 97ad305 Compare July 15, 2024 23:26
@dinamic dinamic force-pushed the feature/wait-for-port branch 3 times, most recently from 60bf909 to 340eb4d Compare July 16, 2024 00:06
@dinamic dinamic force-pushed the feature/wait-for-port branch 2 times, most recently from 1b2ac03 to fd14e82 Compare July 16, 2024 00:27
@dinamic dinamic force-pushed the feature/wait-for-port branch 4 times, most recently from 1fa2c16 to 655aae6 Compare July 16, 2024 02:04
@dinamic dinamic force-pushed the feature/wait-for-port branch from 655aae6 to 11c3e21 Compare July 16, 2024 02:07
@shyim
Copy link
Collaborator

shyim commented Jul 16, 2024

Really thank you for the pull request ❤️

@shyim shyim merged commit 0005627 into testcontainers:main Jul 16, 2024
1 check passed
@dinamic dinamic deleted the feature/wait-for-port branch July 16, 2024 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants