Migrate deprecated usages of Operations#union#19397
Migrate deprecated usages of Operations#union#19397andrross merged 4 commits intoopensearch-project:mainfrom
Conversation
|
❌ Gradle check result for 409b283: 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? |
d0885b0 to
6856376
Compare
|
❌ Gradle check result for 6856376: null 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? |
|
Seems like the could we maybe re-run it? |
|
Reran the checks, could you add a change log for this PR? |
Migrate usages of org.apache.lucene.util.automaton.Operations#union(Automaton, Automaton) to Operations#union(Collection<Automation>) Signed-off-by: Sergei Ustimenko <fdesu@proton.me>
Signed-off-by: Sergei Ustimenko <fdesu@proton.me>
13a617d to
e8028ff
Compare
|
❕ Gradle check result for e8028ff: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #19397 +/- ##
============================================
- Coverage 73.03% 72.93% -0.11%
+ Complexity 69997 69896 -101
============================================
Files 5676 5676
Lines 320923 320924 +1
Branches 46392 46392
============================================
- Hits 234396 234050 -346
- Misses 67610 67921 +311
- Partials 18917 18953 +36 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Sergei Ustimenko <fdesu@proton.me>
|
❌ Gradle check result for e72290b: 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? |
|
Yup, the last failure is caused by one of the flaky tests: |
|
Thanks @fdesu! |
Migrate usages of org.apache.lucene.util.automaton.Operations#union(Automaton, Automaton) to Operations#union(Collection<Automation>) Signed-off-by: Sergei Ustimenko <fdesu@proton.me> Signed-off-by: fdesu <fdesu@proton.me>
Migrate usages of org.apache.lucene.util.automaton.Operations#union(Automaton, Automaton) to Operations#union(Collection<Automation>) Signed-off-by: Sergei Ustimenko <fdesu@proton.me> Signed-off-by: fdesu <fdesu@proton.me>
This PR does a minor change to migrate usages of deprecated Lucene Operations#union to a non-deprecated version, preserving the original behaviour.
Description
Migrate usages of
org.apache.lucene.util.automaton.Operations#union(Automaton, Automaton)toorg.apache.lucene.util.automaton.Operations#union(Collection<Automation>)Related Issues
None
Check List
[ ] 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.