mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
revert #141437 and switch back to fixed journey ordering
This commit is contained in:
parent
e8e1203e5e
commit
da8eb44f92
2 changed files with 9 additions and 14 deletions
|
@ -46,7 +46,9 @@ unset ELASTIC_APM_SERVER_URL
|
|||
unset ELASTIC_APM_SECRET_TOKEN
|
||||
unset ELASTIC_APM_GLOBAL_LABELS
|
||||
|
||||
for journey in x-pack/performance/journeys/*; do
|
||||
journeys=("login" "ecommerce_dashboard" "flight_dashboard" "web_logs_dashboard" "promotion_tracking_dashboard" "many_fields_discover" "data_stress_test_lens")
|
||||
|
||||
for journey in "${journeys[@]}"; do
|
||||
set +e
|
||||
|
||||
phases=("WARMUP" "TEST")
|
||||
|
|
|
@ -120,19 +120,12 @@ export class JourneyFtrHarness {
|
|||
await Promise.all([
|
||||
this.setupApm(),
|
||||
this.setupBrowserAndPage(),
|
||||
(async () => {
|
||||
await Promise.all([
|
||||
asyncForEach(this.journeyConfig.getEsArchives(), async (esArchive) => {
|
||||
await this.esArchiver.load(esArchive);
|
||||
}),
|
||||
asyncForEach(this.journeyConfig.getKbnArchives(), async (kbnArchive) => {
|
||||
await this.kibanaServer.importExport.load(kbnArchive);
|
||||
}),
|
||||
]);
|
||||
|
||||
// wait after loading the data, before doing any querying in tests
|
||||
await setTimeout(10_000);
|
||||
})(),
|
||||
asyncForEach(this.journeyConfig.getEsArchives(), async (esArchive) => {
|
||||
await this.esArchiver.load(esArchive);
|
||||
}),
|
||||
asyncForEach(this.journeyConfig.getKbnArchives(), async (kbnArchive) => {
|
||||
await this.kibanaServer.importExport.load(kbnArchive);
|
||||
}),
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue