Skip to content

Conversation

@mkhludnev
Copy link
Contributor

I wasn't clear in communication under #17714. Let's sweep these tests.

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: Mikhail Khludnev <mkhl@apache.org>
Copy link
Contributor

@jainankitk jainankitk left a comment

Choose a reason for hiding this comment

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

I was hoping to keep the test code, if we ever need to run locally. But, I guess we can clean!

@github-actions
Copy link
Contributor

❌ Gradle check result for dc44995: 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?

@mkhludnev
Copy link
Contributor Author

looking into the failure

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>
@github-actions
Copy link
Contributor

❌ Gradle check result for 584643a: 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?

@mkhludnev
Copy link
Contributor Author

I think these failures are flaky. @jainankitk please consider for merging.

@github-actions
Copy link
Contributor

❌ Gradle check result for 584643a: 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
Copy link
Contributor

@jainankitk can we re-run gradle check? This failure is showing up in other PRs and should get merged

@jainankitk
Copy link
Contributor

@jainankitk can we re-run gradle check? This failure is showing up in other PRs and should get merged

Yes, retried the gradle check!

@github-actions
Copy link
Contributor

❌ Gradle check result for 584643a: 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?

@mkhludnev
Copy link
Contributor Author

@jainankitk
Copy link
Contributor

Retrying gradle check as caused due to unrelated failure

@github-actions
Copy link
Contributor

❌ Gradle check result for 584643a: 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?

@jainankitk
Copy link
Contributor

Still unrelated failures, retrying gradle check:

[Test Result](https://build.ci.opensearch.org/job/gradle-check/56225/testReport/) (3 failures / +3)

    [org.opensearch.rest.ReactorNetty4StreamingStressIT.testCloseClientStreamingRequest](https://build.ci.opensearch.org/job/gradle-check/56225/testReport/junit/org.opensearch.rest/ReactorNetty4StreamingStressIT/testCloseClientStreamingRequest/)
    [org.opensearch.snapshots.DedicatedClusterSnapshotRestoreIT.testSnapshotWithStuckNode](https://build.ci.opensearch.org/job/gradle-check/56225/testReport/junit/org.opensearch.snapshots/DedicatedClusterSnapshotRestoreIT/testSnapshotWithStuckNode/)

@github-actions
Copy link
Contributor

❌ Gradle check result for 584643a: 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?

@jainankitk
Copy link
Contributor

We have too many flaky tests, another run failed due to unrelated test:

[Test Result](https://build.ci.opensearch.org/job/gradle-check/56230/testReport/) (1 failure / ±0)

    [org.opensearch.indices.replication.SegmentReplicationResizeRequestIT.testCreateShrinkIndexThrowsExceptionWhenReplicasBehind](https://build.ci.opensearch.org/job/gradle-check/56230/testReport/junit/org.opensearch.indices.replication/SegmentReplicationResizeRequestIT/testCreateShrinkIndexThrowsExceptionWhenReplicasBehind/)

@github-actions
Copy link
Contributor

✅ Gradle check result for 584643a: SUCCESS

@codecov
Copy link

codecov bot commented Apr 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.51%. Comparing base (1628152) to head (584643a).
Report is 20 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #17902      +/-   ##
============================================
+ Coverage     72.43%   72.51%   +0.07%     
- Complexity    66789    66837      +48     
============================================
  Files          5449     5452       +3     
  Lines        309085   309210     +125     
  Branches      44979    44991      +12     
============================================
+ Hits         223899   224226     +327     
+ Misses        66906    66556     -350     
- Partials      18280    18428     +148     

☔ 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.

@jainankitk jainankitk merged commit b842e48 into opensearch-project:main Apr 11, 2025
32 checks passed
mkhludnev added a commit to mkhludnev/OpenSearch that referenced this pull request Apr 12, 2025
Followup for opensearch-project#17714: Remove redundant tests (opensearch-project#17902)
* Remove redundant tests

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* Fix empty collection test

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

---------

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>
rgsriram pushed a commit to rgsriram/OpenSearch that referenced this pull request Apr 15, 2025
Followup for opensearch-project#17714: Remove redundant tests (opensearch-project#17902)
* Remove redundant tests

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* Fix empty collection test

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

---------

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>
Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
jainankitk pushed a commit that referenced this pull request Apr 21, 2025
* Pass in order terms as sorted to TermInSetQuery() (#17714)

* pass in order terms as sorted to TermInSetQuery()

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* slightly more elegant solution

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* Attempting mocking TermInSetQ constructor.

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* Handle ids as well.

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* forbidden api

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* make unnecessary method slow but correct.

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* make unnecessary method slow but correct.

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* Polish test coverage

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* CHANGELOG.md

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* assertThrows

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* spotlessApply

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* coverage tests and refactoring

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* javadoc

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* javadoc

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* mark nocommit

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* one more nocommit test

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* forbidden api

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* no commit for out of line tests

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* Review

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

---------

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>
Signed-off-by: Mikhail Khludnev <mkhludnev@users.noreply.github.com>

* Fix test

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* Fix BytesRefsCollectionBuilderTests.testBuildSortedNotSorted

Followup for #17714: Remove redundant tests (#17902)
* Remove redundant tests

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* Fix empty collection test

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

---------

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

---------

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>
Signed-off-by: Mikhail Khludnev <mkhludnev@users.noreply.github.com>
Harsh-87 pushed a commit to Harsh-87/OpenSearch that referenced this pull request May 7, 2025
Followup for opensearch-project#17714: Remove redundant tests (opensearch-project#17902)
* Remove redundant tests

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* Fix empty collection test

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

---------

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>
Signed-off-by: Harsh Kothari <techarsh@amazon.com>
Harsh-87 pushed a commit to Harsh-87/OpenSearch that referenced this pull request May 7, 2025
Followup for opensearch-project#17714: Remove redundant tests (opensearch-project#17902)
* Remove redundant tests

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

* Fix empty collection test

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>

---------

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>
Signed-off-by: Harsh Kothari <techarsh@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants