Avoid 2PC when creating ci_builds
What does this MR do and why?
This MR changes the way ci_build
records are created via FactoryBot to avoid generating cross database modifications. This will help enabling the 2PC check by minimalizing the number of failures: #339811 (closed)
Note: this change is not user-facing.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #339811 (closed)
Edited by Adam Hegyi