testcontainers / testcontainers/testcontainers-java

JdbcDatabaseContainer connection retry

Open
#3,849 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
8.7k
Forks
1.9k
Avg merge
2d 17h
Merged PRs (30d)
9

Description

The connection retry seems only wait for 100 ms for next retry, which is to short in some cases, it's better that if we can make it configurable

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the JdbcDatabaseContainer entry point and locate the connection retry logic and its current 100 ms delay. Check nearby tests or retry configuration patterns before deciding how the wait should be exposed. Done means the retry interval can be configured and the behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
databases, testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.