Tech : Correction pour les tests utilisant temporary_bucket échouant "aléatoirement" sur la CI#6510
Merged
Merged
Conversation
rsebille
force-pushed
the
rsebille/ci-clever-bucket
branch
from
July 10, 2025 07:32
a8f81b5 to
4bc8874
Compare
tonial
added this pull request to the merge queue
Jul 10, 2025
Contributor
|
Merci ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤔 Pourquoi ?
3 tests dans
test_prolongation_requests.pyécrasais directementdefault_storage.location, cet écrasement était maqué par l'ancienne fixturestorage_prefix_per_testqui n'existe plus depuis #6464.A voir si on garde le commit pour 1 bucket par session ou pas.
🏝️ Comment tester ?
En local avec le minio, trois possibilités :
pytest -p no:randomly -v tests/www/approvals_views/test_prolongation_requests.py::test_show_view tests/communications/test_admin.pypytest -p no:randomly -v tests/www/approvals_views/test_prolongation_requests.py::test_show_view_no_siae tests/communications/test_admin.pypytest -p no:randomly -v tests/www/approvals_views/test_prolongation_requests.py::test_snapshot_by_status tests/communications/test_admin.py