Closed voodoorai2000 closed 6 years ago
I'll do this one.
Okey @iagirre we just need the final step, and that's backporting the fix at #1206 to consul (as I've checked we've that same spec there https://github.com/consul/consul/blob/master/spec/features/emails_spec.rb#L494-L503
And we can close this issue :)
👏 @iagirre , flaky closed! 🌈
What
rspec ./spec/features/emails_spec.rb:509 # Emails Users without email should not receive emails
How
Tips
Run multiple times a single spec from the command line:
Running a single spec in Travis: Add option
:focus
to the spec and push your branch to Github, for example:scenario 'Show', :focus do
Running specs in the order they failed After executing rspec you can see the seed used, add it as an option to rspec, for example
rspec --seed 55638
Other things to watch out for
Random generated values in the code that it’s covering
Time related issues (current time or two time comparisons)
More general tips: https://semaphoreci.com/community/tutorials/how-to-deal-with-and-eliminate-flaky-tests