Skip to content

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

Merged
jmazanec15 merged 1 commit intoopensearch-project:mainfrom
owenhalpert:fix-cache-test-cleanup
Jan 14, 2025
Merged

Fix sequence of NativeMemory/QuantizationState cache test setup/teardown#2387
jmazanec15 merged 1 commit intoopensearch-project:mainfrom
owenhalpert:fix-cache-test-cleanup

Conversation

@owenhalpert
Copy link
Copy Markdown
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.

Signed-off-by: owenhalpert <ohalpert@gmail.com>
@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
Rajrahane pushed a commit to Rajrahane/k-NN that referenced this pull request Jan 15, 2025
Signed-off-by: owenhalpert <ohalpert@gmail.com>
Signed-off-by: Rajvaibhav Rahane <rrahane@amazon.com>
Vikasht34 pushed a commit to Vikasht34/k-NN that referenced this pull request Feb 12, 2025
Signed-off-by: owenhalpert <ohalpert@gmail.com>
jingqimao77-spec pushed a commit to jingqimao77-spec/k-NN that referenced this pull request Mar 15, 2026
Signed-off-by: owenhalpert <ohalpert@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.

3 participants