Revert "Enable rspec-retry on system and request specs (#19103)" (#19133)

This commit is contained in:
Mac Siri 2023-02-16 17:41:51 -05:00 committed by GitHub
parent 624240a348
commit f14b0868f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,20 +146,10 @@ RSpec.configure do |config|
allow(FeatureFlag).to receive(:enabled?).with(:connect).and_return(true)
end
config.verbose_retry = true
config.around(:each, :flaky) do |ex|
ex.run_with_retry retry: 3
end
config.around(:each, type: :request) do |ex|
ex.run_with_retry retry: 3
end
config.around(:each, type: :system) do |ex|
ex.run_with_retry retry: 3
end
config.around(:each, throttle: true) do |example|
Rack::Attack.enabled = true
example.run