Skip to content

[Cosmos] update vector policy and vector query tests #37647

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

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

simorenoh
Copy link
Member

@simorenoh simorenoh commented Sep 30, 2024

For a while now our tests pipeline has been failing on the vector policy tests due to an update in the error message we are looking for from the service. This PR updates the assertion to look for the new message.

This PR also takes care of a separate update, where we had previously not ran euclidean distance directly due to a separate bug on the service. This PR updates that test to use the default euclidean distance from the policy rather than from the query spec since this bug has been fixed for a while now.

@simorenoh
Copy link
Member Author

/azp run python - cosmos - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@simorenoh simorenoh marked this pull request as ready for review September 30, 2024 19:58
@simorenoh simorenoh requested review from annatisch and a team as code owners September 30, 2024 19:58
@simorenoh simorenoh merged commit a88c145 into Azure:main Sep 30, 2024
31 checks passed
@simorenoh simorenoh deleted the fix-vector-tests branch September 30, 2024 20:07
w-javed pushed a commit to w-javed/azure-sdk-for-python that referenced this pull request Oct 3, 2024
l0lawrence pushed a commit to l0lawrence/azure-sdk-for-python that referenced this pull request Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants