Commit 9aa20350 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'fix-flaky-build_spec' into 'master'

Fix a flaky spec that was time-sensitive

See merge request gitlab-org/gitlab!24506
parents 22e368b2 d1f9e392
......@@ -3854,6 +3854,10 @@ describe Ci::Build do
set(:build) { create(:ci_build, project: project) }
let(:path) { 'other_artifacts_0.1.2/another-subdirectory/banana_sample.gif' }
around do |example|
Timecop.freeze { example.run }
end
before do
stub_artifacts_object_storage
end
......
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