Commit 8f653f09 authored by Toon Claes's avatar Toon Claes

Again run quarantine specs if tag provided

In f59438c0 we changed how quarantined
specs are excluded. But that made it impossible to run them by
providing `--tag quarantine`, this changes that.
parent 1e7aafdc
...@@ -148,9 +148,9 @@ RSpec.configure do |config| ...@@ -148,9 +148,9 @@ RSpec.configure do |config|
Gitlab::ThreadMemoryCache.cache_backend.clear Gitlab::ThreadMemoryCache.cache_backend.clear
end end
config.around(:example, :quarantine) do config.around(:example, :quarantine) do |example|
# Skip tests in quarantine unless we explicitly focus on them. # Skip tests in quarantine unless we explicitly focus on them.
skip('In quarantine') unless config.inclusion_filter[:quarantine] example.run if config.inclusion_filter[:quarantine]
end end
config.before(:example, :request_store) do config.before(:example, :request_store) do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment