[RAM] Increase flaky test snooze duration to 10s (#159610)

## Summary

Fix #159076

Increases snooze expiry duration in hopes CI will catch it before it
disappears.

Passes flaky test runner:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2382
This commit is contained in:
Zacqary Adam Xeper 2023-06-14 11:27:36 -05:00 committed by GitHub
parent 65b8a10027
commit e58aced30d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -357,7 +357,7 @@ export default function createSnoozeRuleTests({ getService }: FtrProviderContext
const response = await alertUtils.getSnoozeRequest(createdRule.id).send({
snooze_schedule: {
...SNOOZE_SCHEDULE,
duration: 1000,
duration: 3000,
},
});
@ -372,7 +372,7 @@ export default function createSnoozeRuleTests({ getService }: FtrProviderContext
expect(updatedAlert.snooze_schedule).to.eql([
{
...SNOOZE_SCHEDULE,
duration: 1000,
duration: 3000,
},
]);
});