Skip to content

Commit

Permalink
[Security Solution] Increase timeout for indexing hosts (elastic#159518)
Browse files Browse the repository at this point in the history
## Summary

Increase the timeout for the `indexEndpointHosts` task that was timing
out on many Defend Workflows cypress tests.


### 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
  • Loading branch information
kevinlog authored and saarikabhasi committed Jun 13, 2023
1 parent 71f20df commit 06e37db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface CyIndexEndpointHosts {
export const indexEndpointHosts = (
options: IndexEndpointHostsCyTaskOptions = {}
): Cypress.Chainable<CyIndexEndpointHosts> => {
return cy.task('indexEndpointHosts', options, { timeout: 120000 }).then((indexHosts) => {
return cy.task('indexEndpointHosts', options, { timeout: 240000 }).then((indexHosts) => {
return {
data: indexHosts,
cleanup: () => {
Expand Down

0 comments on commit 06e37db

Please sign in to comment.