Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sequence of NativeMemory/QuantizationState cache test setup/teardown #2387

Merged

Conversation

owenhalpert
Copy link
Contributor

@owenhalpert owenhalpert commented Jan 14, 2025

Description

While looking into my backport PR's test failure I found that the new setUp/tearDown flow conflicts with the existing NativeMemoryCacheTests class cleanup. This is what caused the odd failure. This new revision scopes down the change to the setup/teardown flow and overall keeps things more simple.

Related Issues

#2308
#2390 (manual backport)

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.

@owenhalpert owenhalpert marked this pull request as ready for review January 14, 2025 20:43
@owenhalpert owenhalpert changed the title Fix sequence of test setup/teardown Fix sequence of NativeMemory/QuantizationState cache test setup/teardown Jan 14, 2025
@jmazanec15 jmazanec15 merged commit 60824c8 into opensearch-project:main Jan 14, 2025
48 of 50 checks passed
Rajrahane pushed a commit to Rajrahane/k-NN that referenced this pull request Jan 15, 2025
Signed-off-by: owenhalpert <[email protected]>
Signed-off-by: Rajvaibhav Rahane <[email protected]>
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