Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chore] Fix loadtest setup script (#33860)
**Description:** This PR fixes the load test pipeline which was broken for a while. The array of tests was not iterated over correctly in https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/.github/workflows/scripts/setup_e2e_tests.sh and the first iteration of the loop resulted in the whole array being added to the matrix instead of just the first entry of the array. I introduced a different way to read in the array of tests at the start of the setup bash script, which works now. [source for the solution](https://stackoverflow.com/a/10586169) **Link to tracking Issue:** Fixes #33577 **Testing:** Tested successfully on my personal fork. This is a [link to a load test run](https://github.com/mowies/opentelemetry-collector-contrib/actions/runs/9761599340) where the matrix is correctly parsed by github actions. Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com>
- Loading branch information