Commit a492a5c
[Security Solution][Cypress] Fix flaky related integrations test by awaiting package installation before creating agent policy
Wait for each package to reach 'installed' status before calling the
Fleet agent policies API, and increase the agent policy creation
timeout from 30s to 60s. Previously the bulk install was fired and the
agent policy request followed immediately; Fleet was still processing
large packages (aws, system) in the background, causing the agent
policy POST to time out under CI load.
Closes #259831
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent cdedd22 commit a492a5c
1 file changed
Lines changed: 25 additions & 17 deletions
File tree
- x-pack/solutions/security/test/security_solution_cypress/cypress/tasks/api_calls
Lines changed: 25 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
60 | 79 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
76 | 85 | | |
77 | | - | |
78 | 86 | | |
79 | 87 | | |
80 | 88 | | |
| |||
0 commit comments