Skip to content

Fix flaky test KNNJVectorTests.testJVectorKnnIndex_simpleCase - #305

Merged
reta merged 3 commits into
opensearch-project:mainfrom
MedhaSrivatsa:flakyTest
Mar 18, 2026
Merged

Fix flaky test KNNJVectorTests.testJVectorKnnIndex_simpleCase#305
reta merged 3 commits into
opensearch-project:mainfrom
MedhaSrivatsa:flakyTest

Conversation

@MedhaSrivatsa

Copy link
Copy Markdown
Collaborator

Description

Fix flaky test KNNJVectorTests.testJVectorKnnIndex_simpleCase

Related Issues

Resolves #304

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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: Medha Srinivasarao Srivatsa <medha.srivatsa@gmail.com>
@reta

reta commented Mar 18, 2026

Copy link
Copy Markdown
Collaborator

@MedhaSrivatsa could you please run ./gradlew spotlessApply? thank you

Signed-off-by: Medha Srinivasarao Srivatsa <medha.srivatsa@gmail.com>
Comment thread CHANGELOG.md Outdated
Co-authored-by: Andriy Redko <drreta@gmail.com>
Signed-off-by: Andriy Redko <drreta@gmail.com>
@reta
reta merged commit a181659 into opensearch-project:main Mar 18, 2026
25 of 28 checks passed
opensearch-trigger-bot Bot pushed a commit that referenced this pull request Mar 18, 2026
* Fix flaky test KNNJVectorTests.testJVectorKnnIndex_simpleCase

Signed-off-by: Medha Srinivasarao Srivatsa <medha.srivatsa@gmail.com>

* Fix indentation and update changelog

Signed-off-by: Medha Srinivasarao Srivatsa <medha.srivatsa@gmail.com>

* Apply suggestions from code review

Co-authored-by: Andriy Redko <drreta@gmail.com>
Signed-off-by: Andriy Redko <drreta@gmail.com>

---------

Signed-off-by: Medha Srinivasarao Srivatsa <medha.srivatsa@gmail.com>
Signed-off-by: Andriy Redko <drreta@gmail.com>
Co-authored-by: Andriy Redko <drreta@gmail.com>
(cherry picked from commit a181659)
opensearch-trigger-bot Bot pushed a commit that referenced this pull request Mar 18, 2026
* Fix flaky test KNNJVectorTests.testJVectorKnnIndex_simpleCase

Signed-off-by: Medha Srinivasarao Srivatsa <medha.srivatsa@gmail.com>

* Fix indentation and update changelog

Signed-off-by: Medha Srinivasarao Srivatsa <medha.srivatsa@gmail.com>

* Apply suggestions from code review

Co-authored-by: Andriy Redko <drreta@gmail.com>
Signed-off-by: Andriy Redko <drreta@gmail.com>

---------

Signed-off-by: Medha Srinivasarao Srivatsa <medha.srivatsa@gmail.com>
Signed-off-by: Andriy Redko <drreta@gmail.com>
Co-authored-by: Andriy Redko <drreta@gmail.com>
(cherry picked from commit a181659)
opensearch-trigger-bot Bot pushed a commit that referenced this pull request Mar 18, 2026
* Fix flaky test KNNJVectorTests.testJVectorKnnIndex_simpleCase

Signed-off-by: Medha Srinivasarao Srivatsa <medha.srivatsa@gmail.com>

* Fix indentation and update changelog

Signed-off-by: Medha Srinivasarao Srivatsa <medha.srivatsa@gmail.com>

* Apply suggestions from code review

Co-authored-by: Andriy Redko <drreta@gmail.com>
Signed-off-by: Andriy Redko <drreta@gmail.com>

---------

Signed-off-by: Medha Srinivasarao Srivatsa <medha.srivatsa@gmail.com>
Signed-off-by: Andriy Redko <drreta@gmail.com>
Co-authored-by: Andriy Redko <drreta@gmail.com>
(cherry picked from commit a181659)
reta added a commit that referenced this pull request Mar 18, 2026
…307)

* Fix flaky test KNNJVectorTests.testJVectorKnnIndex_simpleCase



* Fix indentation and update changelog



* Apply suggestions from code review




---------




(cherry picked from commit a181659)

Signed-off-by: Medha Srinivasarao Srivatsa <medha.srivatsa@gmail.com>
Signed-off-by: Andriy Redko <drreta@gmail.com>
Co-authored-by: Medha Srivatsa <medha.srivatsa@gmail.com>
Co-authored-by: Andriy Redko <drreta@gmail.com>
reta added a commit that referenced this pull request Mar 18, 2026
…308)

* Fix flaky test KNNJVectorTests.testJVectorKnnIndex_simpleCase



* Fix indentation and update changelog



* Apply suggestions from code review




---------




(cherry picked from commit a181659)

Signed-off-by: Medha Srinivasarao Srivatsa <medha.srivatsa@gmail.com>
Signed-off-by: Andriy Redko <drreta@gmail.com>
Co-authored-by: Medha Srivatsa <medha.srivatsa@gmail.com>
Co-authored-by: Andriy Redko <drreta@gmail.com>
reta added a commit that referenced this pull request Mar 18, 2026
…306)

* Fix flaky test KNNJVectorTests.testJVectorKnnIndex_simpleCase



* Fix indentation and update changelog



* Apply suggestions from code review




---------




(cherry picked from commit a181659)

Signed-off-by: Medha Srinivasarao Srivatsa <medha.srivatsa@gmail.com>
Signed-off-by: Andriy Redko <drreta@gmail.com>
Co-authored-by: Medha Srivatsa <medha.srivatsa@gmail.com>
Co-authored-by: Andriy Redko <drreta@gmail.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.

[BUG] Fix flaky org.opensearch.knn.index.codec.jvector.KNNJVectorTests.testJVectorKnnIndex_simpleCase

2 participants