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

Not all specs are running depending on seed #686

Open
ddieulivol opened this issue Apr 2, 2024 · 0 comments
Open

Not all specs are running depending on seed #686

ddieulivol opened this issue Apr 2, 2024 · 0 comments

Comments

@ddieulivol
Copy link
Contributor

The problem

The number of specs being run locally varies per run:

 $ bundle exec rspec                       

Randomized with seed 33336
[...]
Finished in 0.76282 seconds (files took 0.36278 seconds to load)
1155 examples, 0 failures
$ bundle exec rspec

Randomized with seed 24062
[...]
Finished in 0.69801 seconds (files took 0.36089 seconds to load)
1070 examples, 0 failures
$ bundle exec rspec

Randomized with seed 60919
[...]
Finished in 10.19 seconds (files took 0.35574 seconds to load)
132 examples, 0 failures

Using the same seed for RSpec gives the same number of specs:

 $ be rspec --seed 60919

Randomized with seed 60919
[...]
Finished in 10.18 seconds (files took 0.37901 seconds to load)
132 examples, 0 failures

It could be a spec exiting early? I haven't checked.

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

No branches or pull requests

1 participant