Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
revert elastic#141437 and switch back to fixed journey ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Sep 22, 2022
1 parent e8e1203 commit da8eb44
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
19 changes: 6 additions & 13 deletions packages/kbn-journeys/journey/journey_ftr_harness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}),
]);
}

Expand Down

0 comments on commit da8eb44

Please sign in to comment.