Max attempts error in "certificate_issued" waiter #3221
Labels
bug
This issue is a confirmed bug.
closed-for-staleness
p0
This issue is the highest priority
waiter
Describe the bug
After upgrading to version 1.34.144. When creating a certificate from a certificate authority, the waiter "certificate_issued" has started raising a
WaiterError
when it didn't before.Expected Behavior
When the certificate is issued the waiter should end correctly
Current Behavior
The following code was working on previous versions.
Now it returns this error:
After testing that the certificate was actually issued even if the waiter failed I checked the changes of this version and noticed that the success acceptor of the waiter has changed the matcher. My guess is that is creating the error.
When we run this updated code with the try clause we can see the error but the call to get_certificate returns the issued certificate correctly. Which means the waiter is not working properly.
Incrementing the delay or the maxattempts variables does not change the behavior.
Reproduction Steps
Possible Solution
Revert to previous matcher behavior
Additional Information/Context
No response
SDK version used
1.34.144
Environment details (OS name and version, etc.)
Ubuntu 20.04
The text was updated successfully, but these errors were encountered: