mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[ResponseOps][Cases] Fix duplicate alerts test (#141445)
* Trying fix * Removing flaky test only
This commit is contained in:
parent
d8f83051d5
commit
d868f2c12c
1 changed files with 6 additions and 2 deletions
|
@ -55,8 +55,7 @@ export default ({ getService }: FtrProviderContext): void => {
|
|||
const esArchiver = getService('esArchiver');
|
||||
const kibanaServer = getService('kibanaServer');
|
||||
|
||||
// Failing: See https://github.com/elastic/kibana/issues/139626
|
||||
describe.skip('find_cases', () => {
|
||||
describe('find_cases', () => {
|
||||
describe('basic tests', () => {
|
||||
afterEach(async () => {
|
||||
await deleteAllCaseItems(es);
|
||||
|
@ -369,6 +368,11 @@ export default ({ getService }: FtrProviderContext): void => {
|
|||
owner: 'securitySolutionFixture',
|
||||
},
|
||||
});
|
||||
|
||||
// There is potential for the alert index to not be refreshed by the time the second comment is created
|
||||
// which could attempt to update the alert status again and will encounter a conflict so this will
|
||||
// ensure that the index is up to date before we try to update the next alert status
|
||||
await es.indices.refresh({ index: defaultSignalsIndex });
|
||||
}
|
||||
|
||||
const patchedCase = await createComment({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue