-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)in: testIssues in the test moduleIssues in the test moduletype: bugA general bugA general bug
Milestone
Description
Gary Russell opened SPR-13321 and commented
Status Quo
SocketUtils attempts to find an unused socket.
This does not work (at least on OS X) if something is already bound to localhost but not to other network interfaces. Instead, the requested socket is successfully bound to other network interfaces.
Proposal
Since tests generally want to bind to localhost, SocketUtils should test the loopback interface to ensure that the port is actually available for localhost.
Further Resources
See pull request 1537 for a similar fix in Spring Integration.
Affects: 4.0 GA
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)in: testIssues in the test moduleIssues in the test moduletype: bugA general bugA general bug