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

bugfix/flaky-hvc-EW-test #5291

Merged
merged 1 commit into from
Mar 26, 2024
Merged

bugfix/flaky-hvc-EW-test #5291

merged 1 commit into from
Mar 26, 2024

Conversation

chopkinsmade
Copy link
Contributor

@chopkinsmade chopkinsmade commented Mar 26, 2024

Description of change

The financial_year field on the HVC model object is used as part of a unique constraint. By having the factory produce a random number in a small range this can cause a flaky test by having the same financial year generated twice

Checklist

  • Has this branch been rebased on top of the current main branch?

    Explanation

    The branch should not be stale or have conflicts at the time reviews are requested.

  • Is the CircleCI build passing?

General points

Other things to check

  • Make sure fixtures/test_data.yaml is maintained when updating models
  • Consider the admin site when making changes to models
  • Use select-/prefetch-related field lists in views and search apps, and update them when fields are added
  • Make sure the README is updated e.g. when adding new environment variables

See docs/CONTRIBUTING.md for more guidelines.

@chopkinsmade chopkinsmade marked this pull request as ready for review March 26, 2024 13:48
@chopkinsmade chopkinsmade requested a review from a team as a code owner March 26, 2024 13:48
Copy link

codecov bot commented Mar 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.46%. Comparing base (c5ae3e8) to head (f155d2d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5291   +/-   ##
=======================================
  Coverage   96.46%   96.46%           
=======================================
  Files         922      922           
  Lines       21853    21853           
  Branches     1953     1954    +1     
=======================================
  Hits        21081    21081           
  Misses        625      625           
  Partials      147      147           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chopkinsmade chopkinsmade merged commit 8d1968c into main Mar 26, 2024
4 checks passed
@chopkinsmade chopkinsmade deleted the bugfix/flaky-hvc-EW-test branch March 26, 2024 14:04
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.

None yet

3 participants