Skip to content

Conversation

@mrodm
Copy link
Contributor

@mrodm mrodm commented Jun 28, 2023

This PR adds the parameter -p in order to set the PACKAGE_UNDER_TEST variable for benchmark packages.

Required for the integrations shell script to run those tests:

if [ "${PACKAGE_UNDER_TEST:-*}" == "pipeline_benchmark" ]; then

@mrodm mrodm self-assigned this Jun 28, 2023
@mrodm mrodm added the ci label Jun 28, 2023
mrodm added 3 commits June 28, 2023 11:02
Check which package is being tested in case of benchmark suite, but
keeping all these test packages in the same step.
This reverts commit 65f88fe.
@mrodm mrodm requested review from a team and marc-gr June 28, 2023 09:44
@mrodm mrodm marked this pull request as ready for review June 28, 2023 09:44
fi
if [ "${PACKAGE_UNDER_TEST:-*}" == "system_benchmark" ]; then
if [ "${package_to_test}" == "system_benchmark" ]; then
elastic-package benchmark system --benchmark logs-benchmark -v --defer-cleanup 1s
Copy link
Contributor Author

@mrodm mrodm Jun 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marc-gr now that these tests are being run, system_benchmark package is failing with several errors:

https://buildkite.com/elastic/elastic-package/builds/1040#01890165-f272-4c84-b810-165d22b03e49/95-1974

Could we comment out for the time being this command ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just talked offline with @marc-gr , it has been decided to comment out this package and not running it for the time being. Applied change here: f5a280a

@mrodm mrodm changed the title Add PACKAGE_UNDER_TEST for benchmark tests Ensure that required commands are run for test benchmark packages Jun 28, 2023
@mrodm
Copy link
Contributor Author

mrodm commented Jun 28, 2023

/test

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @mrodm

@mrodm mrodm merged commit ab46f0f into elastic:main Jun 29, 2023
@mrodm mrodm deleted the add_package_under_test_benchmark branch June 29, 2023 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants