Skip to content

Fix flaky ES spec

Dmitry Gruzd requested to merge 385513-fix-flaky-spec into master

What does this MR do and why?

This MR fixes flaky ES spec from #385513 (closed)

The reason is that we have 2 different Rspec traits: elastic and elastic_clean. Since ee/spec/elastic/migrate/20220825102900_backfill_label_ids_for_issues_spec.rb changes Elasticsearch mappings, we need to use elastic_clean instead. This trait recreates test indices for every example.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Closes #385513 (closed)

Edited by Dmitry Gruzd

Merge request reports

Loading