Because, it has an inherent race condition and makes tests fail more easily.
Contributor guide
Tech stack
scala
Domain
testingbackend
Issue type
bug
DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
3
Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
half day
Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
stale
ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
clear
Prerequisites
ScalaAkka HTTP basics
Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
60
Research direction
Investigate the usage of SocketUtils.temporaryHostnameAndPort in the test codebase. Review the issue comments and any related documentation. Look for alternative test utilities or methods to avoid the race condition. Check if a similar issue or PR exists in the repository history.
Get rid of SocketUtils.temporaryHostnameAndPort · akka/akka-http#2947 | Good First Issue