Skip to content

Commit

Permalink
[CI] Enable independent agents parallel tests (#10384)
Browse files Browse the repository at this point in the history
Enable independent Elastic Agents for all packages and enable
to run system tests in parallel for network_traffic and zeek packages.
  • Loading branch information
mrodm authored Jul 12, 2024
1 parent 588d4f0 commit 299001e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .buildkite/pipeline.serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ env:
ELASTIC_PACKAGE_LINKS_FILE_PATH: "links_table.yml"
# Disable comparison of results in pipeline tests to avoid errors related to GeoIP fields
ELASTIC_PACKAGE_SERVERLESS_PIPELINE_TEST_DISABLE_COMPARE_RESULTS: "true"
# Enable independent Elastic Agents for all packages
ELASTIC_PACKAGE_TEST_ENABLE_INDEPENDENT_AGENT: "true"
# Set maximum number of parallel tests to run if package allows it
ELASTIC_PACKAGE_MAXIMUM_NUMBER_PARALLEL_TESTS: "5"

steps:
- input: "Input values for the variables"
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ env:
ELASTIC_PACKAGE_LINKS_FILE_PATH: "links_table.yml"
# Disable comparison of results in pipeline tests to avoid errors related to GeoIP fields
ELASTIC_PACKAGE_SERVERLESS_PIPELINE_TEST_DISABLE_COMPARE_RESULTS: "true"
# Enable independent Elastic Agents for all packages
ELASTIC_PACKAGE_TEST_ENABLE_INDEPENDENT_AGENT: "true"
# Set maximum number of parallel tests to run if package allows it
ELASTIC_PACKAGE_MAXIMUM_NUMBER_PARALLEL_TESTS: "5"

steps:
- label: "Get reference from target branch"
Expand Down
2 changes: 2 additions & 0 deletions packages/network_traffic/_dev/test/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
system:
parallel: true
2 changes: 2 additions & 0 deletions packages/zeek/_dev/test/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
system:
parallel: true

0 comments on commit 299001e

Please sign in to comment.