-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into case-connectors
- Loading branch information
Showing
555 changed files
with
16,150 additions
and
9,912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 48 additions & 17 deletions
65
.buildkite/scripts/steps/functional/performance_playwright.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,55 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
|
||
set -uo pipefail | ||
set -euo pipefail | ||
|
||
if [ -z "${PERF_TEST_COUNT+x}" ]; then | ||
TEST_COUNT="$(buildkite-agent meta-data get performance-test-iteration-count)" | ||
else | ||
TEST_COUNT=$PERF_TEST_COUNT | ||
fi | ||
source .buildkite/scripts/common/util.sh | ||
|
||
tput setab 2; tput setaf 0; echo "Performance test will be run at ${BUILDKITE_BRANCH} ${TEST_COUNT} times" | ||
.buildkite/scripts/bootstrap.sh | ||
.buildkite/scripts/download_build_artifacts.sh | ||
|
||
cat << EOF | buildkite-agent pipeline upload | ||
steps: | ||
- command: .buildkite/scripts/steps/functional/performance_sub_playwright.sh | ||
parallelism: "$TEST_COUNT" | ||
concurrency: 20 | ||
concurrency_group: 'performance-test-group' | ||
agents: | ||
queue: c2-16 | ||
EOF | ||
echo --- Run Performance Tests with Playwright config | ||
|
||
node scripts/es snapshot& | ||
|
||
esPid=$! | ||
|
||
export TEST_ES_URL=http://elastic:changeme@localhost:9200 | ||
export TEST_ES_DISABLE_STARTUP=true | ||
|
||
sleep 120 | ||
|
||
cd "$XPACK_DIR" | ||
|
||
jobId=$(npx uuid) | ||
export TEST_JOB_ID="$jobId" | ||
|
||
journeys=("ecommerce_dashboard" "flight_dashboard" "web_logs_dashboard" "promotion_tracking_dashboard") | ||
|
||
for i in "${journeys[@]}"; do | ||
echo "JOURNEY[${i}] is running" | ||
|
||
export TEST_PERFORMANCE_PHASE=WARMUP | ||
export ELASTIC_APM_ACTIVE=false | ||
export JOURNEY_NAME="${i}" | ||
|
||
checks-reporter-with-killswitch "Run Performance Tests with Playwright Config (Journey:${i},Phase: WARMUP)" \ | ||
node scripts/functional_tests \ | ||
--config test/performance/config.playwright.ts \ | ||
--include "test/performance/tests/playwright/${i}.ts" \ | ||
--kibana-install-dir "$KIBANA_BUILD_LOCATION" \ | ||
--debug \ | ||
--bail | ||
|
||
export TEST_PERFORMANCE_PHASE=TEST | ||
export ELASTIC_APM_ACTIVE=true | ||
|
||
checks-reporter-with-killswitch "Run Performance Tests with Playwright Config (Journey:${i},Phase: TEST)" \ | ||
node scripts/functional_tests \ | ||
--config test/performance/config.playwright.ts \ | ||
--include "test/performance/tests/playwright/${i}.ts" \ | ||
--kibana-install-dir "$KIBANA_BUILD_LOCATION" \ | ||
--debug \ | ||
--bail | ||
done | ||
|
||
kill "$esPid" |
55 changes: 0 additions & 55 deletions
55
.buildkite/scripts/steps/functional/performance_sub_playwright.sh
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 0 additions & 27 deletions
27
docs/development/core/public/kibana-plugin-core-public.asyncplugin.md
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
docs/development/core/public/kibana-plugin-core-public.asyncplugin.setup.md
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
docs/development/core/public/kibana-plugin-core-public.asyncplugin.start.md
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
docs/development/core/public/kibana-plugin-core-public.asyncplugin.stop.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.