Skip to content
Snippets Groups Projects

Ensure Elasticsearch index is clean before wildcard test

Merged Stan Hu requested to merge sh-ensure-elasticsearch-clean-index into master
All threads resolved!

!104311 (merged) caused Elasticsearch indices to be reused during tests, but this caused a test failure when previous tests ran before the wildcard test. The wildcard test would pick up on older projects.

To fix this, we use the :elastic_clean tag to ensure the test environment contains only a single project.

Relates to #387496 (closed)

Edited by Stan Hu

Merge request reports

Merged results pipeline #741438685 passed

Pipeline: GitLab

#741440466

    Merged results pipeline passed for bfe122fd

    Approved by

    Merged by Matthias KäpplerMatthias Käppler 2 years ago (Jan 9, 2023 8:37am UTC)

    Pipeline #741495477 passed

    Pipeline passed for 82504518 on master

    Test coverage 67.80% from 0 jobs
    10 environments impacted.

    Activity

    Filter activity
    • Approvals
    • Assignees & reviewers
    • Comments (from bots)
    • Comments (from users)
    • Commits & branches
    • Edits
    • Labels
    • Lock status
    • Mentions
    • Merge request status
    • Tracking
    Please register or sign in to reply
    Loading