Failure in ee/spec/models/elastic/migration_record_spec.rb | Elastic::MigrationRecord#started? changes on first save to the index

Test metadata (don't modify)

Field Value
File URL ee/spec/models/elastic/migration_record_spec.rb#L99
Filename ee/spec/models/elastic/migration_record_spec.rb
Description Elastic::MigrationRecord#started? changes on first save to the index
Test level unit
Hash 6072105b92691d3cc9ab4b4c7c6eb18912c609a1f
Duration 0.0 seconds
Expected duration < 45.4 seconds

Stack trace

Failure/Error: raise "Index or alias under '#{alias_name}' already exists."

RuntimeError:
  Index or alias under 'gitlab-test' already exists.

Reports (1)

  1. 2024-02-14: https://gitlab.com/gitlab-org/gitlab/-/jobs/6168680693 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1176038515)