testcontainers / testcontainers/testcontainers-java
Add delay between socket write tries?
Open
Nobody has claimed this yet.
resolution/acknowledged
type/feature
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 1.9k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 9
Description
This loop seem to produce too much logs when container start is delayed for some reason.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open core/src/main/java/org/testcontainers/utility/ResourceReaper.java around line 117 and inspect the retry loop during delayed container startup. Determine a suitable delay between socket-write attempts and verify that retries still work while reducing excessive logs; no test file is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, java
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100