Skip to content

Commit

Permalink
[APM] Fix apm journey flakiness (#162879)
Browse files Browse the repository at this point in the history
## Summary

Closes #162813

Fix APM journey flakiness

Tested against Flaky Test runner - [Passed
50/50](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2760)
  • Loading branch information
achyutjhunjhunwala authored Aug 1, 2023
1 parent b95241f commit 9eec3ae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions x-pack/performance/journeys/apm_service_inventory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export const journey = new Journey({
// Setup Synthtrace Client
await synthClient.initialiseEsClient();
// Generate data using Synthtrace
const start = Date.now() - 1000;
const end = Date.now();
const start = Date.now() - 1000 * 60 * 15;
const end = Date.now() + 1000 * 60 * 15;
await synthClient.index(
generateData({
from: new Date(start).getTime(),
Expand All @@ -35,7 +35,6 @@ export const journey = new Journey({
);
},
ftrConfigPath: 'x-pack/performance/configs/apm_config.ts',
skipped: true,
})
.step('Navigate to Service Inventory Page', async ({ page, kbnUrl }) => {
await page.goto(kbnUrl.get(`app/apm/services`));
Expand Down

0 comments on commit 9eec3ae

Please sign in to comment.