Skip to content

Poll for lag stat in IngestFromKafkaIT - #23019

Open
andrross wants to merge 1 commit into
opensearch-project:mainfrom
andrross:fix-kafka-lag-test
Open

andrross wants to merge 1 commit into
opensearch-project:mainfrom
andrross:fix-kafka-lag-test

Conversation

@andrross

Copy link
Copy Markdown
Member

The stat is populated asynchronously, so poll for the expected value.

Example failure: https://build.ci.opensearch.org/job/gradle-check/84759/testReport/org.opensearch.plugin.kafka/IngestFromKafkaIT/testAllActiveOffsetBasedLag/

Check List

  • Functionality includes testing.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

The stat is populated asynchronously, so poll for the expected value.

Signed-off-by: Andrew Ross <andrross@amazon.com>
@andrross
andrross requested a review from a team as a code owner September 11, 2026 23:07
@github-actions

Copy link
Copy Markdown
Contributor

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🧪 PR contains tests
🔒 No security concerns identified
✅ No TODO sections
🔀 No multiple PR themes
⚡ No major issues detected

@github-actions

Copy link
Copy Markdown
Contributor

✅ Gradle check result for e4b1c74: SUCCESS

@codecov

codecov Bot commented Sep 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.73%. Comparing base (28c01db) to head (e4b1c74).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##               main   #23019    +/-   ##
==========================================
  Coverage     71.73%   71.73%            
- Complexity    77567    77600    +33     
==========================================
  Files          6168     6168            
  Lines        360105   360105            
  Branches      52380    52380            
==========================================
+ Hits         258307   258315     +8     
- Misses        81173    81270    +97     
+ Partials      20625    20520   -105     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants