Flaky Specs
how marking a spec `:flaky` works at forem
config.around(:each, :flaky) do |ex|
ex.run_with_retry retry: 3
end
djuber@laptop:/data/src/forem$ bundle exec rspec --format=documentation --order=random --tag=flaky spec/ DEPRECATION WARNING: Devise::Models::Authenticatable::BLACKLIST_FOR_SERIALIZATION is deprecated! Use Devise::Models::Authenticatable::UNSAFE_ATTRIBUTES_FOR_SERIALIZATION instead. (called from const_get at /data/src/forem/vendor/cache/devise-0cd72a56f984/lib/devise/models.rb:90)
WARNING: Shared example group 'UserSubscriptionSourceable' has been previously defined at:
/data/src/forem/spec/models/shared_examples/user_subscription_sourceable_spec.rb:1
...and you are now defining it at:
/data/src/forem/spec/models/shared_examples/user_subscription_sourceable_spec.rb:1
The new definition will overwrite the original one.
Run options: include {:flaky=>true}
Randomized with seed 43087
[Zonebie] Setting timezone: ZONEBIE_TZ="Baku"
Creating an article with the editor
creates a new article
Articles::Suggest
returns the number of articles requested
returns proper number of articles with post with the same tags
returns proper number of articles with post with different tags
User visits podcast show page
they see the content of the hero
Finished in 15.66 seconds (files took 10 seconds to load)
5 examples, 0 failures
Randomized with seed 43087
Last updated