Skip to content

Commit

Permalink
Fix Cypress FTR config support (#172553)
Browse files Browse the repository at this point in the history
## Summary

Fixes race condition between
  • Loading branch information
patrykkopycinski authored Dec 5, 2023
1 parent e84d0a0 commit 3ebc285
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ describe(
tags: ['@ess', '@serverless'],
env: {
ftrConfig: {
enableExperimental: ['alertSuppressionForThresholdRuleEnabled'],
kbnServerArgs: [
`--xpack.securitySolution.enableExperimental=${JSON.stringify([
'alertSuppressionForThresholdRuleEnabled',
])}`,
],
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ describe(
{ product_line: 'security', product_tier: 'essentials' },
{ product_line: 'endpoint', product_tier: 'essentials' },
],
enableExperimental: ['alertSuppressionForThresholdRuleEnabled'],
kbnServerArgs: [
`--xpack.securitySolution.enableExperimental=${JSON.stringify([
'alertSuppressionForThresholdRuleEnabled',
])}`,
],
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ describe(
tags: ['@ess', '@serverless'],
env: {
ftrConfig: {
enableExperimental: ['alertSuppressionForThresholdRuleEnabled'],
kbnServerArgs: [
`--xpack.securitySolution.enableExperimental=${JSON.stringify([
'alertSuppressionForThresholdRuleEnabled',
])}`,
],
},
},
},
Expand Down

0 comments on commit 3ebc285

Please sign in to comment.