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

Dramelet/bsr yet another flaky test fix #14215

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

damien-ramelet
Copy link
Contributor

@damien-ramelet damien-ramelet commented Sep 18, 2024

As seen in 3fe544a, this test is flaky.
A SELECT * FROM venue can be issued in the buisness code between the steps
check_stock_is_bookable and check_expenses_limits while the Venue
has still successfully joinedload previously.
While this issue is unresolved, we don’t want to count the queries
as this make this test flaky.

Vérifications

  • J'ai écrit les tests nécessaires
  • J'ai mis à jour le fichier des plans de tests du portail pro si nécessaire
  • J'ai mis à jour la liste des routes et des titres de pages du portail pro si j'en ai rajouté/modifié ou supprimé une.
  • J'ai relu attentivement les migrations, en particulier pour éviter les locks, et je préviens les équipes Shérif et Data
  • J'ai ajouté des screenshots pour d'éventuels changements graphiques

@damien-ramelet damien-ramelet force-pushed the dramelet/bsr-yet-another-flaky-test-fix branch 3 times, most recently from 99665de to ce7622e Compare September 19, 2024 06:51
As seen in 3fe544a, this test is flaky.
A `SELECT * FROM venue` can be issued in the buisness code between the steps
`check_stock_is_bookable` and `check_expenses_limits` while the Venue
has been successfully joinedload previously.
While this issue is unresolved, we don’t want to count the queries
as this make this test flaky.
@damien-ramelet damien-ramelet force-pushed the dramelet/bsr-yet-another-flaky-test-fix branch from ce7622e to 6058ffe Compare September 19, 2024 06:52
Copy link
Contributor

@francois-pass-culture francois-pass-culture left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On enlève temporairement cette vérification du nombre de requêtes, et on creusera en journée backend par exemple

@damien-ramelet damien-ramelet merged commit ca9d667 into master Sep 19, 2024
23 checks passed
@damien-ramelet damien-ramelet deleted the dramelet/bsr-yet-another-flaky-test-fix branch September 19, 2024 07:12
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