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 python flaky test (potentially GET requests gets back 403) #8074

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

carlopi
Copy link
Contributor

@carlopi carlopi commented Jun 24, 2023

Last few Python CI jobs failed due to this: https://github.com/duckdb/duckdb/actions/workflows/Python.yml.

@github-actions github-actions bot marked this pull request as draft June 25, 2023 06:07
@Mytherin Mytherin marked this pull request as ready for review June 25, 2023 08:31
@carlopi
Copy link
Contributor Author

carlopi commented Jun 25, 2023

This will fail, again, not exactly sure what's the right catch, should be trivial but I don't see it, maybe some pythonista can take this further

@github-actions github-actions bot marked this pull request as draft June 25, 2023 09:33
@carlopi carlopi marked this pull request as ready for review June 25, 2023 09:34
@carlopi
Copy link
Contributor Author

carlopi commented Jun 25, 2023

Actually decided on removing the test on the json, since failing CI is in any case not great, someone / me of the future can than add this back again.

@Mytherin
Copy link
Collaborator

Thanks! Best to leave it out if it is flaky indeed. Perhaps this can be moved to the Linux HTTPFS test suite?

@Mytherin Mytherin merged commit 12bbae5 into duckdb:master Jun 26, 2023
15 checks passed
@carlopi
Copy link
Contributor Author

carlopi commented Jun 26, 2023

I was taking a look with @Tishj, he found also the second test in that file should be modified to catch a duckdb.HTTPException instead of RuntimeError, and I am not sure if users are expected to catch on what.

We can check later on how you want to address it / where should this be moved.

@carlopi carlopi deleted the fix_python_403 branch July 6, 2023 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants