File tree 1 file changed +2
-2
lines changed
monitoring/api/v3/alerts-client
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def __init__(self):
64
64
65
65
def __enter__ (self ):
66
66
@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 )
68
68
def setup ():
69
69
# Create a policy.
70
70
policy = monitoring_v3 .types .alert_pb2 .AlertPolicy ()
@@ -89,7 +89,7 @@ def setup():
89
89
def __exit__ (self , type , value , traceback ):
90
90
# Delete the policy and channel we created.
91
91
@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 )
93
93
def teardown ():
94
94
try :
95
95
self .alert_policy_client .delete_alert_policy (
You can’t perform that action at this time.
0 commit comments