Skip to content

fix fieldtypeinferencetest#19510

Merged
rishabhmaurya merged 1 commit intoopensearch-project:mainfrom
harshavamsi:fix_type_inference
Oct 3, 2025
Merged

fix fieldtypeinferencetest#19510
rishabhmaurya merged 1 commit intoopensearch-project:mainfrom
harshavamsi:fix_type_inference

Conversation

@harshavamsi
Copy link
Copy Markdown
Contributor

Description

Fixes the test to check for actual docs in the leaf compared to the hard coded value. This is more correct since we're evaluating against docs in each leaf

Related Issues

Resolves #19334

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
@github-actions github-actions bot added bug Something isn't working lucene Search Search query, autocomplete ...etc v3.3.0 labels Oct 2, 2025
@harshavamsi harshavamsi added skip-changelog and removed bug Something isn't working Search Search query, autocomplete ...etc lucene v3.3.0 labels Oct 2, 2025
@github-actions github-actions bot added bug Something isn't working lucene Search Search query, autocomplete ...etc v3.3.0 labels Oct 2, 2025
@harshavamsi
Copy link
Copy Markdown
Contributor Author

@rishabhmaurya for your review

@rishabhmaurya
Copy link
Copy Markdown
Contributor

@harshavamsi makes sense. Do we know why it started failing post upgrade?

@harshavamsi
Copy link
Copy Markdown
Contributor Author

@rishabhmaurya I believe it is coming from apache/lucene#14823. previously we could have 10 segments in the tier which this test has, but now we are merging at 8 which means in this test the segments do get merged. we no longer see 1k docs per segment

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 2, 2025

❌ Gradle check result for b52881c: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@harshavamsi harshavamsi closed this Oct 2, 2025
@harshavamsi harshavamsi reopened this Oct 2, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 2, 2025

❌ Gradle check result for b52881c: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 3, 2025

✅ Gradle check result for b52881c: SUCCESS

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.05%. Comparing base (86ada27) to head (b52881c).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #19510      +/-   ##
============================================
+ Coverage     73.01%   73.05%   +0.03%     
- Complexity    70422    70435      +13     
============================================
  Files          5712     5712              
  Lines        322764   322764              
  Branches      46743    46743              
============================================
+ Hits         235673   235781     +108     
+ Misses        68078    67993      -85     
+ Partials      19013    18990      -23     

☔ View full report in Codecov by Sentry.
📢 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.

@rishabhmaurya rishabhmaurya merged commit ac6dfa1 into opensearch-project:main Oct 3, 2025
89 of 94 checks passed
@rishabhmaurya
Copy link
Copy Markdown
Contributor

I don't think it requires a 3.3 backport given its a test fix

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

Labels

bug Something isn't working lucene Search Search query, autocomplete ...etc skip-changelog v3.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Failing TypeInference test

2 participants