Failure in spec/services/issues/create_service_spec.rb | Issues::CreateService#execute when params are valid when issue is incident type as reporter behaves like incident issue has incident as issue type
Test metadata (don't modify)
Field | Value |
---|---|
File | spec/services/issues/create_service_spec.rb |
Description | Issues::CreateService#execute when params are valid when issue is incident type as reporter behaves like incident issue has incident as issue type |
Hash | d32a721d2c636df5beec680274419248b3bb2d8b2e87663caee63b848d1e6188 |
Stack trace
Failure/Error: connection.public_send(...)
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "members" violates foreign key constraint "fk_2f85abf8f1"
DETAIL: Key (member_namespace_id)=(367) is not present in table "namespaces".
Shared Example Group: "incident issue" called from ./spec/services/issues/create_service_spec.rb:211
Reports (3)
- 2023-06-28: https://gitlab.com/gitlab-org/gitlab/-/jobs/4559948287 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/914941038)
- 2023-06-28: https://gitlab.com/gitlab-org/gitlab/-/jobs/4559949441 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/914941038)
- 2023-08-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/4888115116 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/970283840)
Edited by Ghost User