[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:
parent
79b2c5826a
commit
0f9766591f
|
@ -626,8 +626,7 @@ export default ({ getService }: FtrProviderContext) => {
|
||||||
expect(ips).to.eql(['127.0.0.1', '127.0.0.3']);
|
expect(ips).to.eql(['127.0.0.1', '127.0.0.3']);
|
||||||
});
|
});
|
||||||
|
|
||||||
// flaky https://github.com/elastic/kibana/issues/89389
|
it('will return 4 results if we have a list that excludes all ips', async () => {
|
||||||
it.skip('will return 4 results if we have a list that excludes all ips', async () => {
|
|
||||||
await importFile(
|
await importFile(
|
||||||
supertest,
|
supertest,
|
||||||
'ip',
|
'ip',
|
||||||
|
|
|
@ -721,7 +721,7 @@ export const getSimpleRuleOutputWithWebHookAction = (actionId: string): Partial<
|
||||||
export const waitFor = async (
|
export const waitFor = async (
|
||||||
functionToTest: () => Promise<boolean>,
|
functionToTest: () => Promise<boolean>,
|
||||||
functionName: string,
|
functionName: string,
|
||||||
maxTimeout: number = 10000,
|
maxTimeout: number = 20000,
|
||||||
timeoutWait: number = 10
|
timeoutWait: number = 10
|
||||||
): Promise<void> => {
|
): Promise<void> => {
|
||||||
await new Promise<void>(async (resolve, reject) => {
|
await new Promise<void>(async (resolve, reject) => {
|
||||||
|
|
Loading…
Reference in a new issue