diff options
author | Stan Hu <stanhu@gmail.com> | 2018-02-28 15:35:43 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-02-28 15:35:43 -0800 |
commit | 4aa098f48c8bd4d6c63b311c8ac2061e4afcc452 (patch) | |
tree | 49466872df83edc4c67b61c4f62b47a730e84b02 /spec/migrations | |
parent | b50756401746d936cfe3eea5e0c6d300ab0db0eb (diff) | |
download | gitlab-ce-4aa098f48c8bd4d6c63b311c8ac2061e4afcc452.tar.gz |
Tag migration specs with :sidekiq to clear queues between testssh-tag-migrations-with-sidekiq
This was failing in https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/55004375
Diffstat (limited to 'spec/migrations')
-rw-r--r-- | spec/migrations/migrate_stages_statuses_spec.rb | 2 | ||||
-rw-r--r-- | spec/migrations/schedule_build_stage_migration_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/migrations/migrate_stages_statuses_spec.rb b/spec/migrations/migrate_stages_statuses_spec.rb index 79d2708f9ad..ce35276cbf5 100644 --- a/spec/migrations/migrate_stages_statuses_spec.rb +++ b/spec/migrations/migrate_stages_statuses_spec.rb @@ -1,7 +1,7 @@ require 'spec_helper' require Rails.root.join('db', 'post_migrate', '20170711145558_migrate_stages_statuses.rb') -describe MigrateStagesStatuses, :migration do +describe MigrateStagesStatuses, :sidekiq, :migration do let(:jobs) { table(:ci_builds) } let(:stages) { table(:ci_stages) } let(:pipelines) { table(:ci_pipelines) } diff --git a/spec/migrations/schedule_build_stage_migration_spec.rb b/spec/migrations/schedule_build_stage_migration_spec.rb index 06657410173..e2ca35447fb 100644 --- a/spec/migrations/schedule_build_stage_migration_spec.rb +++ b/spec/migrations/schedule_build_stage_migration_spec.rb @@ -1,7 +1,7 @@ require 'spec_helper' require Rails.root.join('db', 'post_migrate', '20180212101928_schedule_build_stage_migration') -describe ScheduleBuildStageMigration, :migration do +describe ScheduleBuildStageMigration, :sidekiq, :migration do let(:projects) { table(:projects) } let(:pipelines) { table(:ci_pipelines) } let(:stages) { table(:ci_stages) } |