Commit 465421f0 authored by Kamil Trzciński's avatar Kamil Trzciński

Explicitly mark cross-database modification for `dast_*_profile`

Since this issue is not yet resolved (and needs to be) lets ackonwledge
it for now to have the allowlist empty.

Related issue: https://gitlab.com/gitlab-org/gitlab/-/issues/350051
parent d09bdf2a
...@@ -38,8 +38,10 @@ RSpec.describe Ci::RetryBuildService do ...@@ -38,8 +38,10 @@ RSpec.describe Ci::RetryBuildService do
end end
it 'clones the profile associations', :aggregate_failures do it 'clones the profile associations', :aggregate_failures do
expect(new_build.dast_site_profile).to eq(dast_site_profile) ::Gitlab::Database::QueryAnalyzers::PreventCrossDatabaseModification.allow_cross_database_modification_within_transaction(url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/350051') do
expect(new_build.dast_scanner_profile).to eq(dast_scanner_profile) expect(new_build.dast_site_profile).to eq(dast_site_profile)
expect(new_build.dast_scanner_profile).to eq(dast_scanner_profile)
end
end end
end end
......
- "./ee/spec/replicators/geo/terraform_state_version_replicator_spec.rb" - "./ee/spec/replicators/geo/terraform_state_version_replicator_spec.rb"
- "./ee/spec/services/ci/retry_build_service_spec.rb"
- "./spec/features/issues/issue_detail_spec.rb" - "./spec/features/issues/issue_detail_spec.rb"
- "./spec/features/projects/pipelines/pipeline_spec.rb" - "./spec/features/projects/pipelines/pipeline_spec.rb"
- "./spec/features/signed_commits_spec.rb" - "./spec/features/signed_commits_spec.rb"
......
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