summaryrefslogtreecommitdiff
path: root/spec/services/ci/archive_trace_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/ci/archive_trace_service_spec.rb')
-rw-r--r--spec/services/ci/archive_trace_service_spec.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/services/ci/archive_trace_service_spec.rb b/spec/services/ci/archive_trace_service_spec.rb
index bf2e5302d2e..359ea0699e4 100644
--- a/spec/services/ci/archive_trace_service_spec.rb
+++ b/spec/services/ci/archive_trace_service_spec.rb
@@ -17,21 +17,12 @@ RSpec.describe Ci::ArchiveTraceService, '#execute' do
context 'integration hooks' do
it do
- stub_feature_flags(datadog_integration_logs_collection: [job.project])
-
expect(job.project).to receive(:execute_integrations) do |data, hook_type|
expect(data).to eq Gitlab::DataBuilder::ArchiveTrace.build(job)
expect(hook_type).to eq :archive_trace_hooks
end
expect { subject }.not_to raise_error
end
-
- it 'with feature flag disabled' do
- stub_feature_flags(datadog_integration_logs_collection: false)
-
- expect(job.project).not_to receive(:execute_integrations)
- expect { subject }.not_to raise_error
- end
end
context 'when trace is already archived' do