-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing flaky find
tests
#183746
Fixing flaky find
tests
#183746
Conversation
@elasticmachine merge upstream |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#6032[✅] x-pack/test/alerting_api_integration/security_and_spaces/group1/config.ts: 200/200 tests passed. |
Pinging @elastic/response-ops (Team:ResponseOps) |
// Failing: See https://github.com/elastic/kibana/issues/182263 | ||
// Failing: See https://github.com/elastic/kibana/issues/182284 | ||
describe.skip('find', () => { | ||
describe('find', () => { | ||
const objectRemover = new ObjectRemover(supertest); | ||
|
||
afterEach(() => objectRemover.removeAll()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we make the function async?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done in e216e6b
@@ -19,14 +19,12 @@ const findTestUtils = ( | |||
supertest: SuperTestAgent, | |||
supertestWithoutAuth: any | |||
) => { | |||
// FLAKY: https://github.com/elastic/kibana/issues/182314 | |||
describe.skip(describeType, () => { | |||
describe(describeType, () => { | |||
afterEach(() => objectRemover.removeAll()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we make the function async?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done in e216e6b
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: cc @ymao1 |
Resolves #182263
Resolves #182284
Resolves #182314
Summary
Missing
await
in the backfill tests caused a rule created for those tests not to finish getting deleted before thefind
tests ran