Skip to content
Snippets Groups Projects

Skip Exclusive Lease Transaction Check for js specs

Merged Marc Shaw requested to merge skip_exclusive_lease_transaction_check_js_specs into master
All threads resolved!
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
+ 3
0
@@ -175,6 +175,9 @@
Sidekiq::Worker.skipping_transaction_check { example.run }
end
config.around(:each, :js) do |example|
Gitlab::ExclusiveLease.skipping_transaction_check { example.run }
end
# The :capybara_ignore_server_errors metadata means unhandled exceptions raised
# by the application under test will not necessarily fail the server. This is
# useful when testing conditions that are expected to raise a 500 error in
Loading