Skip to content

Commit d0bce03

Browse files
mergify[bot]rdnerpierrehilbert
authored
Run integration test steps in different data centers (#4782) (#4783)
So, we spread the load. Also, removed the redundant `BEAT_NAME` variable. (cherry picked from commit 921fd1b) Co-authored-by: Denis <denis.rechkunov@elastic.co> Co-authored-by: Pierre HILBERT <pierre.hilbert@elastic.co>
1 parent e41e053 commit d0bce03

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.buildkite/integration.pipeline.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ steps:
1010
concurrency_group: elastic-agent-extended-testing/serverless-integration
1111
concurrency: 8
1212
env:
13-
BEAT_NAME: "elastic-agent"
13+
# we run each step in a different data center to spread the load
14+
TEST_INTEG_AUTH_GCP_DATACENTER: "us-central1-a"
1415
command: ".buildkite/scripts/steps/integration_tests.sh serverless integration:single TestLogIngestionFleetManaged" #right now, run a single test in serverless mode as a sort of smoke test, instead of re-running the entire suite
1516
artifact_paths:
1617
- "build/TEST-**"
@@ -27,7 +28,7 @@ steps:
2728
concurrency_group: elastic-agent-extended-testing/leak-tests
2829
concurrency: 8
2930
env:
30-
BEAT_NAME: "elastic-agent"
31+
TEST_INTEG_AUTH_GCP_DATACENTER: "us-central1-b"
3132
command: ".buildkite/scripts/steps/integration_tests.sh stateful integration:TestForResourceLeaks"
3233
artifact_paths:
3334
- "build/TEST-**"
@@ -44,7 +45,7 @@ steps:
4445
concurrency_group: elastic-agent-extended-testing/integration
4546
concurrency: 8
4647
env:
47-
BEAT_NAME: "elastic-agent"
48+
TEST_INTEG_AUTH_GCP_DATACENTER: "us-central1-f"
4849
command: ".buildkite/scripts/steps/integration_tests.sh stateful"
4950
artifact_paths:
5051
- "build/TEST-**"
@@ -60,6 +61,8 @@ steps:
6061
key: "serverless-beats-integration-tests"
6162
concurrency_group: elastic-agent-extended-testing/beats-integration
6263
concurrency: 8
64+
env:
65+
TEST_INTEG_AUTH_GCP_DATACENTER: "us-central1-a"
6366
command: ".buildkite/scripts/steps/beats_tests.sh"
6467
# if: "build.env('CRON') == 'yes'"
6568
agents:

0 commit comments

Comments
 (0)