Skip to content
Snippets Groups Projects

Fix build attributes test

Merged username-removed-423915 requested to merge fix-test-for-build-attributes into master
All threads resolved!

What does this MR do?

This is a follow up from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9021#note_23782188

Description

Fix build attributes test, see:

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9021#note_23782188

This is discovered by https://gitlab.com/gitlab-org/gitlab-ce/builds/10815456

I removed gl_project_id and this is failing. I took some look, realizing that:

  • trace is duplicated in attributes
  • tag_list is not included in build.attributes
  • artifacts_expire_at is missing in attributes

So we need to:

  • Remove duplicated trace in attributes (40 -> 39)
  • Remove tag_list in attributes (39 -> 38)
  • Add artifacts_expire_at to attributes (38 -> 39)
  • Add gl_project_id to attributes (39 -> 40)

/cc @ayufan

Note that we'll remove gl_project_id again in !9378 (closed)

Merge request reports

Pipeline #6599977 passed

Pipeline passed for 9e6b2c5d on fix-test-for-build-attributes

Test coverage 93.34% (-0.10%) from 1 job

Merged by Kamil TrzcińśkiKamil Trzcińśki 8 years ago (Feb 23, 2017 2:37pm UTC)

Loading

Pipeline #6650516 passed with warnings

Pipeline passed with warnings for cfd7602d on master

Test coverage 93.17% (-0.10%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • @godfat I left just a single question. It looks good to me :thumbsup: Thanks for fixing this! :hearts:

  • assigned to @godfat

  • mentioned in commit 9e6b2c5d

  • username-removed-423915 resolved all discussions

    resolved all discussions

  • added 1 commit

    • 9e6b2c5d - We actually want to clone project and remove gl_project_id

    Compare with previous version

  • @grzesiek No problems. I forgot to assign back :P

  • Looks good to me! :thumbsup: Thanks @godfat

  • assigned to @ayufan

  • mentioned in commit cfd7602d

  • Please register or sign in to reply
    Loading