Skip to content

Use the Golang elasticsearch indexer in tests

Nick Thomas requested to merge 6481-use-elasticsearch-indexer-in-specs into master

What does this MR do?

In preparation for the removal of the Ruby elasticsearch indexer, this MR adds the Golang indexer to the test environment, and ensures all tests are run using it.

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Test setup is slowed down a bit (20 seconds), but that's unavoidable. The setup happens just once, as part of TestEnv.init, and the compiled binary is copied to all test jobs, so this should be relatively cheap, compared to compiling it once per job.

The binary is 22MiB, so the gitlab-ee artifact increases by that much.

Related to #6481 (closed)

Edited by Rémy Coutable

Merge request reports