Automatically set the :migration metadata for migration specs
What does this MR do?
Some migration specs were missing the metadata and I think that could be the reason why we were seeing the PG::LockNotAvailable
errors. Adding the metadata dynamically in spec/spec_helper.rb
:
- Ensures that all the migration specs have the metadata.
- Removes the need to set the metadata manually.
Does this MR meet the acceptance criteria?
Conformity
-
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Hopefully helps solving #207088 (closed).
Edited by Rémy Coutable