Skip to content

Failure in api/1_manage/migration/gitlab_migration_release_spec.rb | Manage Gitlab migration with release successfully imports project release

Full description

Manage Gitlab migration with release successfully imports project release

File path

./qa/specs/features/api/1_manage/migration/gitlab_migration_release_spec.rb

Stack trace

Failure/Error: expect(imported_release).to eq(source_release)

  expected: {:assets=>{:count=>4, :links=>[], :sources=>[{:format=>"zip", :url=>"archive/v0.0.1/the_awesome_proje..."2022-07-16T05:24:25.272Z", :tag_name=>"v0.0.1", :tag_path=>"tags/v0.0.1", :upcoming_release=>false}
       got: {:assets=>{:count=>4, :links=>[], :sources=>[{:format=>"zip", :url=>"archive/v0.0.1/the_awesome_proje..."2022-07-16T05:24:25.272Z", :tag_name=>"v0.0.1", :tag_path=>"tags/v0.0.1", :upcoming_release=>false}

  (compared using ==)

  Diff:
  @@ -4,7 +4,7 @@
   :commit_path => "commit/425e12f1cd2735486e2184a4758f07d98f3282ba",
   :created_at => "2022-07-16T05:24:25.272Z",
   :description => nil,
  -:evidences => [{:filepath=>"releases/v0.0.1/evidences/*.json"}],
  +:evidences => [{:filepath=>"releases/v0.0.1/evidences/*.json"}, {:filepath=>"releases/v0.0.1/evidences/*.json"}, {:filepath=>"releases/v0.0.1/evidences/*.json"}],
   :milestones => [{:created_at=>"2022-07-16T05:24:24.790Z", :description=>"My awesome project milestone.", :due_date=>nil, :expired=>nil, :iid=>1, :issue_stats=>{:closed=>0, :total=>0}, :start_date=>nil, :state=>"active", :title=>"project-milestone-35756151", :updated_at=>"2022-07-16T05:24:24.790Z", :web_url=>"milestones/1"}],
   :name => "v0.0.1",
   :released_at => "2022-07-16T05:24:25.272Z",
  

First happened in https://gitlab.com/gitlab-org/gitlab-qa-mirror/-/jobs/2730211458.

Related test case: https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/360243.