Failure in api/1_manage/migration/gitlab_migration_mr_spec.rb | Manage Gitlab migration with merge request successfully imports merge request
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Test metadata (don't modify)
| Field | Value |
|---|---|
| File | qa/specs/features/api/1_manage/migration/gitlab_migration_mr_spec.rb |
| Description | Manage Gitlab migration with merge request successfully imports merge request |
| Hash | 73b31fb5f31b433fa5bc83c03e35ece91632d1c4eb783030683e401c52451d7e |
Stack trace
Failure/Error: expect(imported_mr).to eq(source_mr.reload!)
expected: {
"iid": 1,
"title": "QA test - merge request",
"description": "This is a test merge request",
...8a2cfb517",
"start_sha": "801d46c6bfa78231d7215b0b908a617c1b1c2f7e"
},
"merge_error": null
}
got: {
"iid": 1,
"title": "QA test - merge request",
"description": "This is a test merge request",
...8a2cfb517",
"start_sha": "801d46c6bfa78231d7215b0b908a617c1b1c2f7e"
},
"merge_error": null
}
(compared using ==)
Diff:
@@ -30,7 +30,7 @@
"discussion_locked": null,
"should_remove_source_branch": null,
"force_remove_source_branch": null,
- "prepared_at": "2023-06-08T18:29:02.500Z",
+ "prepared_at": null,
"reference": "!1",
"references": {
"short": "!1",
First happened in https://gitlab.com/gitlab-org/gitlab/-/jobs/4440313739.
Related test case: https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348478.
Reports (6)
- 2023-06-17: https://gitlab.com/gitlab-org/gitlab/-/jobs/4492202344 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/903123603)
- 2023-06-17: https://gitlab.com/gitlab-org/gitlab/-/jobs/4492465116 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/903187466)
- 2023-06-18: https://gitlab.com/gitlab-org/gitlab/-/jobs/4493669604 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/903474198)
- 2023-06-18: https://gitlab.com/gitlab-org/gitlab/-/jobs/4494389122 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/903640282)
- 2023-06-19: https://gitlab.com/gitlab-org/gitlab/-/jobs/4494991217 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/903773355)
- 2023-06-19: https://gitlab.com/gitlab-org/gitlab/-/jobs/4495429005 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/903858964)
Proposed solution
Edited by 🤖 GitLab Bot 🤖