Skip to content

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

Merged
hubcio merged 8 commits intoapache:masterfrom
krishvishal:fix-connectors-wait
Apr 14, 2026
Merged

fix(test): replace log-based container readiness checks with HTTP healthcheck endpoints#3093
hubcio merged 8 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 54.32%. Comparing base (35f6f06) to head (cd51243).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #3093       +/-   ##
=============================================
- Coverage     72.51%   54.32%   -18.19%     
  Complexity      943      943               
=============================================
  Files          1117     1115        -2     
  Lines         96368    86100    -10268     
  Branches      73559    63276    -10283     
=============================================
- Hits          69883    46778    -23105     
- Misses        23910    36787    +12877     
+ Partials       2575     2535       -40     
Components Coverage Δ
Rust Core 48.17% <ø> (-25.33%) ⬇️
Java SDK 62.30% <ø> (ø)
C# SDK 69.40% <ø> (+4.08%) ⬆️
Python SDK 81.43% <ø> (ø)
Node SDK 91.53% <ø> (+0.09%) ⬆️
Go SDK 39.28% <ø> (ø)
see 254 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.

@hubcio hubcio merged commit 54c60a8 into apache:master Apr 14, 2026
53 checks passed
@krishvishal krishvishal deleted the fix-connectors-wait branch April 14, 2026 09:33
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.

5 participants