Skip to content

fix(test): replace log-based container readiness checks with HTTP healthcheck endpoints#3093

Open
krishvishal wants to merge 3 commits intoapache:masterfrom
krishvishal:fix-connectors-wait
Open

fix(test): replace log-based container readiness checks with HTTP healthcheck endpoints#3093
krishvishal wants to merge 3 commits intoapache:masterfrom
krishvishal:fix-connectors-wait

Conversation

@krishvishal
Copy link
Copy Markdown
Contributor

Follow-up to #3077 and #3079: replace remaining WaitFor::message_on_stdout / message_on_stderr readiness checks with WaitFor::http(HttpWaitStrategy) across connector test fixtures.

  • InfluxDB: message_on_stdout("Listening") - GET /ping expecting 204
  • Quickwit: message_on_stdout("REST server is ready") - GET /health/readyz expecting 200
  • MinIO: message_on_stderr("API:") - GET /minio/health/live expecting 200

MongoDB is the only connector still using log-based waiting, since it doesn't expose an HTTP interface.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.71%. Comparing base (fcc5a44) to head (8efebde).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3093      +/-   ##
============================================
- Coverage     72.74%   72.71%   -0.03%     
  Complexity      943      943              
============================================
  Files          1117     1117              
  Lines         96342    96342              
  Branches      73543    73542       -1     
============================================
- Hits          70083    70055      -28     
- Misses        23715    23734      +19     
- Partials       2544     2553       +9     
Components Coverage Δ
Rust Core 73.45% <ø> (-0.06%) ⬇️
Java SDK 62.30% <ø> (ø)
C# SDK 69.40% <ø> (ø)
Python SDK 81.43% <ø> (ø)
Node SDK 91.53% <ø> (+0.12%) ⬆️
Go SDK 38.97% <ø> (ø)
see 14 files with indirect coverage changes
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@tungtose tungtose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great. This will fix many of the flaky local tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants