Commit 0d85c54b authored by Sean McGivern's avatar Sean McGivern

Merge branch 'pl-spec-ci-trace-perf' into 'master'

Speed up CI trace lib specs

See merge request gitlab-org/gitlab!44462
parents 516919be 98af4d86
......@@ -2,8 +2,9 @@
require 'spec_helper'
RSpec.describe Gitlab::Ci::Trace, :clean_gitlab_redis_shared_state do
let(:build) { create(:ci_build) }
RSpec.describe Gitlab::Ci::Trace, :clean_gitlab_redis_shared_state, factory_default: :keep do
let_it_be(:project) { create_default(:project) }
let_it_be_with_reload(:build) { create(:ci_build) }
let(:trace) { described_class.new(build) }
describe "associations" 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