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 pinecone PINECONE_DEBUG_CURL unit test #41703

Merged
merged 1 commit into from
Aug 24, 2024

Conversation

o-nikolas
Copy link
Contributor

@o-nikolas o-nikolas commented Aug 23, 2024

Previously the unit test was mocking too early and the code which sets the env variable was not even running. This PR removes the mocking and creates the client only to ensure the env variable is being set.

I'm not entirely sure how this test was ever passing since this code has not changed recently, but our tests on main (within aws and also locally confirmed running the test in Breeze on my laptop) detected this recently and have been consistently failing for a day.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Previously the unit test was mocking too early and the code which sets
the env variable was not even running. Remove mocking and create client
only to ensure the env variable is being set.
@eladkal eladkal merged commit 56ca940 into apache:main Aug 24, 2024
55 checks passed
@vincbeck vincbeck deleted the onikolas/pincone_test_fix branch August 26, 2024 14:11
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