-
Notifications
You must be signed in to change notification settings - Fork 4.3k
fix(certificatemanager): increase minimum validation total timeout #3914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(certificatemanager): increase minimum validation total timeout #3914
Conversation
Add a minimum component to the backoff and retry timer
Provide stub function for sleep to allow long running sleep to cause test to fail
spy on sleep function to determine total time attempted to sleep
Failing test demonstrating min sleep is as low as 4.6 seconds.
Increase max attempts in validation, still under 10, but such that minimum sleep duration of one minute is reached (but not more than 3 minutes). Can adjust tests if window is not suitable, but I find that at least 30 seconds is needed in my region
Pull Request Checklist
|
Please check all the boxes in the PR checklist |
Sorry, but I'm not sure what you mean. I don't seem to have rights to edit the bot's reply, but I have done each of the checks.
As near as I can tell 'checking all the boxes' means doing what they ask (done that) and also editing the bot's reply (I don't have permission). If it means something else could you please let me know? I haven't had experience with mergify before so I may be missing something obvious |
@eladb - I assume I should see an 'edit' here if I had permission to check of the PR checklist? |
Thank you for contributing! Your pull request is now being automatically merged. |
Thank you for contributing! Your pull request is now being automatically merged. |
Hi! thanks for the fix. how would i make use of this configuration using aws-cdk@1.8.0? |
Tests and fix to ensure minimum total wait time for validating dns validated certificates is sufficient for slower regions. Was 6 seconds, now at least 60 (but no more than 360).
Fixes #3912
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license