revert #141437 and switch back to fixed journey ordering

This commit is contained in:
spalger 2022-09-22 10:57:46 -05:00
parent e8e1203e5e
commit da8eb44f92
2 changed files with 9 additions and 14 deletions

View file

@ -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")

View file

@ -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);
}),
]);
}