diff options
author | Toon Claes <toon@gitlab.com> | 2019-08-02 11:54:40 +0200 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2019-08-02 11:54:40 +0200 |
commit | 8f653f098394d3f048c0abdecda2a0de54b48e08 (patch) | |
tree | f99787b2066546d4218e51fb96a5edbd5cf1c11a /spec/spec_helper.rb | |
parent | 1e7aafdc0b10d7307649e6d5f5d6587639a4e7e7 (diff) | |
download | gitlab-ce-8f653f098394d3f048c0abdecda2a0de54b48e08.tar.gz |
Again run quarantine specs if tag providedtc-reanble-running-quarantined-specs
In f59438c0a9da7bb4d98291d2adedfc5a13a50798 we changed how quarantined
specs are excluded. But that made it impossible to run them by
providing `--tag quarantine`, this changes that.
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 6994b6687fc..bcc133790d1 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -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 |