Skip to content

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:

  1. Ensures that all the migration specs have the metadata.
  2. Removes the need to set the metadata manually.

Does this MR meet the acceptance criteria?

Conformity

Hopefully helps solving #207088 (closed).

Edited by Rémy Coutable

Merge request reports