File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -838,8 +838,8 @@ def wait_for_mesh_annotation_on_gamma_route(
838838 retryer = retryers .constant_retryer (
839839 wait_fixed = _timedelta (seconds = wait_sec ),
840840 timeout = timeout ,
841- check_result = lambda resource : resource .metadata . annotations
842- is not None
841+ check_result = lambda resource : resource .metadata is not None
842+ and resource . metadata . annotations is not None
843843 and self .MESH_ANNOTATION in resource .metadata .annotations ,
844844 )
845845 try :
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ def run( # pylint: disable=arguments-differ
238238 self .k8s_namespace .wait_for_mesh_annotation_on_gamma_route (
239239 name = self .route_name ,
240240 kind = k8s .RouteKind .HTTP ,
241- timeout_sec = datetime .timedelta (minutes = 50 ).total_seconds (),
241+ timeout_sec = datetime .timedelta (minutes = 1 ).total_seconds (),
242242 )
243243 return servers
244244
You can’t perform that action at this time.
0 commit comments