Again run quarantine specs if tag provided
In f59438c0a9
we changed how quarantined
specs are excluded. But that made it impossible to run them by
providing `--tag quarantine`, this changes that.
This commit is contained in:
parent
1e7aafdc0b
commit
8f653f0983
|
@ -148,9 +148,9 @@ RSpec.configure do |config|
|
|||
Gitlab::ThreadMemoryCache.cache_backend.clear
|
||||
end
|
||||
|
||||
config.around(:example, :quarantine) do
|
||||
config.around(:example, :quarantine) do |example|
|
||||
# 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
|
||||
|
||||
config.before(:example, :request_store) do
|
||||
|
|
Loading…
Reference in New Issue