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

chore: remove deadlines and reruns #3630

Merged
merged 2 commits into from
Sep 29, 2023

Conversation

charles-cooper
Copy link
Member

for historical reasons, pytest ran with --allow-reruns when tests failed because tests would usually fail due to deadline errors. deadline errors have never indicated any meaningful issue with the compiler, they are just a somewhat unavoidable byproduct of the fact that we are running in a CI environment which has a lot of jitter.

this commit changes the hypothesis deadline to None for the whole test suite, and removes the --allow-reruns parameter in the CI, which should make the test suite much more efficient when there are failures.

What I did

How I did it

How to verify it

Commit message

Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

for historical reasons, pytest ran with `--allow-reruns` when tests
failed because tests would usually fail due to deadline errors. deadline
errors have never indicated any meaningful issue with the compiler, they
are just a somewhat unavoidable byproduct of the fact that we are
running in a CI environment which has a lot of jitter.

this commit changes the hypothesis deadline to `None` for the whole test
suite, and removes the `--allow-reruns` parameter in the CI, which
should make the test suite much more efficient when there are failures.
@charles-cooper charles-cooper enabled auto-merge (squash) September 29, 2023 00:47
@codecov-commenter
Copy link

codecov-commenter commented Sep 29, 2023

Codecov Report

Merging #3630 (92b3817) into master (4281780) will decrease coverage by 0.08%.
Report is 1 commits behind head on master.
The diff coverage is n/a.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

@@            Coverage Diff             @@
##           master    #3630      +/-   ##
==========================================
- Coverage   89.01%   88.93%   -0.08%     
==========================================
  Files          86       86              
  Lines       11460    11460              
  Branches     2606     2606              
==========================================
- Hits        10201    10192       -9     
- Misses        836      846      +10     
+ Partials      423      422       -1     

see 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@charles-cooper charles-cooper merged commit c913b2d into vyperlang:master Sep 29, 2023
@charles-cooper charles-cooper deleted the chore/remove-reruns branch September 29, 2023 16:46
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.

3 participants