Skip to content

Fix timeouts for ES 8 in Pipelines

Terri Chu requested to merge 471622-fix into master

What does this MR do and why?

Related to #471622 (closed)

This MR fixes timeouts in the Elasticsearch 8 CI pipelines specifically.

The timeouts appear to be due to low diskspace on the runners, but manifest as a pipeline timeout.

The Elasticsearch cluster blocks when creating indices and stalls the pipeline for > 1 hour.

Changes are:

  1. fix the environment variable for Elasticsearch 8 services in CI to set cluster.routing.allocation.disk.threshold_enabled to false (there was an extra _)
  2. set the timeout for the application setting config to 30 second if run in Rails test environment

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

N/A

How to set up and validate locally

Pipelines should pass

Edited by Terri Chu

Merge request reports