Stage index migration tests failed with PostgreSQL 10
Related to gitlab-org/quality/production#4 and omnibus-gitlab#4156 (closed)
I run a pipeline where Rspec tests were run with PostgreSQL 10 and the following jobs failed - https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/190115163. The logs are as follows
1) Gitlab::BackgroundMigration::MigrateStageIndex correctly migrates stages indices
Failure/Error: expect(stages.all.pluck(:position)).to eq [2, 3]
expected: [2, 3]
got: [10, 3]
(compared using ==)
# ./spec/lib/gitlab/background_migration/migrate_stage_index_spec.rb:33:in `block (2 levels) in <top (required)>'
Edited by Balasankar 'Balu' C