mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
PR #17219 introduced configurable split quantities for IT tests, which
resulted in broken JDK matrix pipelines (e.g. as seen via the elastic
internal link:
https://buildkite.com/elastic/logstash-linux-jdk-matrix-pipeline/builds/444
reporting the following error
```
File "/buildkite/builds/bk-agent-prod-k8s-1743469287077752648/elastic/logstash-linux-jdk-matrix-pipeline/.buildkite/scripts/jdk-matrix-tests/generate-steps.py", line 263
def integration_tests(self, part: int, parts: int) -> JobRetValues:
^^^
SyntaxError: invalid syntax
There was a problem rendering the pipeline steps.
Exiting now.
```
)
This commit fixes the above problem, which was already fixed in #17642, using a more
idiomatic way.
Co-authored-by: Andrea Selva <selva.andre@gmail.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
scripts | ||
aarch64_pipeline.yml | ||
benchmark_marathon_pipeline.yml | ||
benchmark_pipeline.yml | ||
dra_pipeline.yml | ||
exhaustive_tests_pipeline.yml | ||
health_report_tests_pipeline.yml | ||
jdk_availability_check_pipeline.yml | ||
linux_jdk_matrix_pipeline.yml | ||
pull-requests.json | ||
pull_request_pipeline.yml | ||
serverless_integration_pipeline.yml | ||
snyk_report_pipeline.yml | ||
supported_plugins_test_pipeline.yml | ||
trigger_pipelines.yml | ||
windows_jdk_matrix_pipeline.yml |