Commit 1a00db2c authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch '344951-flaky-dp-spec' into 'master'

Fix flaky spec by using explicit value

See merge request gitlab-org/gitlab!73788
parents 951046bc f99f86e3
......@@ -164,10 +164,10 @@ RSpec.describe Groups::DependencyProxyForContainersController do
end
describe 'GET #manifest' do
let_it_be(:manifest) { create(:dependency_proxy_manifest, group: group) }
let_it_be(:tag) { 'latest' }
let_it_be(:manifest) { create(:dependency_proxy_manifest, file_name: "alpine:#{tag}.json", group: group) }
let(:pull_response) { { status: :success, manifest: manifest, from_cache: false } }
let(:tag) { 'latest1' }
before do
allow_next_instance_of(DependencyProxy::FindOrCreateManifestService) do |instance|
......
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