testcontainers / testcontainers/testcontainers-rs

WaitFor command exit with 0

Open
#702 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement question
Dominant language
Rust
Stars
1.1k
Forks
197
PR merge metrics
No merged PRs in 30d

Description

Some image, like Postgres, would have a best match wait strategy like pg_isready returns 0.

Maybe we can implement such a wait strategy for testing with command?

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

No files, tests, or entry points are named. Start by reviewing the existing wait-strategy implementation and testing support, then compare the requested behavior with Postgres's pg_isready command; done should mean a command-based strategy can recognize a successful exit status such as 0.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, postgresql, rust
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.