[Security Solution] Re-adds a test that was skipped (#100273)

## Summary

Re-adds a test that was skipped. If it goes bonkers again, I will add more debugging information to it. I will keep an eye on the operations channel to see when/if this fails again. Originally this looked to be timeouts waiting, so I increased the global timeout to be 20 seconds instead of the original 10 seconds.

Resolves:
https://github.com/elastic/kibana/issues/89389

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
This commit is contained in:
Frank Hassanabad 2021-05-18 12:03:49 -06:00 committed by GitHub
parent 79b2c5826a
commit 0f9766591f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -626,8 +626,7 @@ export default ({ getService }: FtrProviderContext) => {
expect(ips).to.eql(['127.0.0.1', '127.0.0.3']);
});
// flaky https://github.com/elastic/kibana/issues/89389
it.skip('will return 4 results if we have a list that excludes all ips', async () => {
it('will return 4 results if we have a list that excludes all ips', async () => {
await importFile(
supertest,
'ip',

View file

@ -721,7 +721,7 @@ export const getSimpleRuleOutputWithWebHookAction = (actionId: string): Partial<
export const waitFor = async (
functionToTest: () => Promise<boolean>,
functionName: string,
maxTimeout: number = 10000,
maxTimeout: number = 20000,
timeoutWait: number = 10
): Promise<void> => {
await new Promise<void>(async (resolve, reject) => {