File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
monitoring/api/v3/alerts-client Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def __init__(self):
6464
6565 def __enter__ (self ):
6666 @retry (wait_exponential_multiplier = 1000 , wait_exponential_max = 10000 ,
67- stop_max_attempt_number = 5 , retry_on_exception = retry_if_aborted )
67+ stop_max_attempt_number = 10 , retry_on_exception = retry_if_aborted )
6868 def setup ():
6969 # Create a policy.
7070 policy = monitoring_v3 .types .alert_pb2 .AlertPolicy ()
@@ -89,7 +89,7 @@ def setup():
8989 def __exit__ (self , type , value , traceback ):
9090 # Delete the policy and channel we created.
9191 @retry (wait_exponential_multiplier = 1000 , wait_exponential_max = 10000 ,
92- stop_max_attempt_number = 5 , retry_on_exception = retry_if_aborted )
92+ stop_max_attempt_number = 10 , retry_on_exception = retry_if_aborted )
9393 def teardown ():
9494 try :
9595 self .alert_policy_client .delete_alert_policy (
You can’t perform that action at this time.
0 commit comments