Skip to content

Commit

Permalink
[Security Solution] Attempt to fix flaky MKI test (#187067)
Browse files Browse the repository at this point in the history
## Summary

Glo (@MadameSheema) solved the problem!! 🥳 🎈🍾 


Flaky test #179687


The assumption is that logging twice for a single test (`it`) generates
some concurrency that logs off the user.
  • Loading branch information
machadoum authored Jun 28, 2024
1 parent aca2fdf commit 8ba400c
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ describe('Entity Analytics Dashboard', { tags: ['@ess', '@serverless'] }, () =>
});
});

// https://github.com/elastic/kibana/issues/179687
describe('When risk engine is enabled', { tags: ['@skipInServerlessMKI'] }, () => {
describe('When risk engine is enabled', () => {
beforeEach(() => {
login();
mockRiskEngineEnabled();
Expand Down Expand Up @@ -151,7 +150,6 @@ describe('Entity Analytics Dashboard', { tags: ['@ess', '@serverless'] }, () =>
});

beforeEach(() => {
login();
visitWithTimeRange(ALERTS_URL);
waitForAlertsToPopulate();
visitWithTimeRange(ENTITY_ANALYTICS_URL);
Expand Down Expand Up @@ -244,7 +242,6 @@ describe('Entity Analytics Dashboard', { tags: ['@ess', '@serverless'] }, () =>
});

beforeEach(() => {
login();
visitWithTimeRange(ALERTS_URL);
waitForAlertsToPopulate();
visitWithTimeRange(ENTITY_ANALYTICS_URL);
Expand Down

0 comments on commit 8ba400c

Please sign in to comment.