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

Fix findAvailableTcpPort for redis from 1025 to 50000 #1074

Merged
merged 2 commits into from
Dec 13, 2022

Conversation

Fameing
Copy link
Collaborator

@Fameing Fameing commented Dec 13, 2022

No description provided.

@Fameing Fameing added the bug label Dec 13, 2022
@Fameing Fameing enabled auto-merge (squash) December 13, 2022 22:23
@Fameing Fameing self-assigned this Dec 13, 2022
@Fameing Fameing merged commit 067eb0e into develop Dec 13, 2022
@Fameing Fameing deleted the feature/redis_port_up_to_10000_only branch December 13, 2022 22:27
thammerl added a commit to thammerl/testcontainers-spring-boot that referenced this pull request Dec 19, 2022
 - Fixes PlaytikaOSS#1061 (again).
 - Regression introduced with PlaytikaOSS#1074.
 - PlaytikaOSS#1044 initially fixed PlaytikaOSS#1043 by changing the minimum port passed to `SocketUtils` from 1000 to 1025. PlaytikaOSS#1062 then changed the fix and additionally resolved PlaytikaOSS#1061 by replacing `SocketUtils` with `TestSocketUtils` from spring-test. PlaytikaOSS#1074 then reverted this change reintroducing the dependency to `SocketUtils`.
@klu2
Copy link
Contributor

klu2 commented Dec 21, 2022

org.springframework.util.SocketUtils is deprecated in Spring 5.3 and removed in Spring 6 (which comes with Spring Boot 3), that's why I raised https://github.com/PlaytikaOSS/testcontainers-spring-boot/pull/1062/files just 3 weeks ago (merged 2 weeks ago).

This PR again introduces the reference to the deprecated class, making the library again unusable for Spring Boot 3. Please either revert that or merge #1082, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants