Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[kbn-journeys] use TEST_INGEST_ES_DATA to determine synthtrace usage (e…
…lastic#178989) ## Summary In elastic#178599 we moved synthrace logic inside kbn-journey. It works well except the case when we run journeys in [kibana / performance-data-set-extraction](https://buildkite.com/elastic/kibana-performance-data-set-extraction) pipeline: we run it with `--skip-warmup` flag which runs only TEST phase but without ES data being ingested, causing journey to [fail](https://buildkite.com/elastic/kibana-performance-data-set-extraction/builds/1322#018e5629-deb8-4707-b5cf-25191d7d45d6). Synthtrace has no soft ingest option like esArchiver `loadIfNeeded`, so we can't re-use the approach we do with es/kbn archives. We must know explicitly when to run synthtrace and the easy way is to pass env var directly from the managing script: `TEST_INGEST_ES_DATA` is set via performance run script and is used to define when synthrace indexing to be run. Validating fix in [pipeline](https://buildkite.com/elastic/kibana-performance-data-set-extraction/builds/1323)
- Loading branch information