File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -343,15 +343,11 @@ def wait_for_target_processed(
343343 while True :
344344 report = self .get_target_summary_report (target_id = target_id )
345345 if report .status != TargetStatuses .PROCESSING :
346- # Wait and verify once more to guard against the target
347- # still being seen as processing by other endpoints due
348- # to eventual consistency.
346+ # Guard against the target still being seen as
347+ # processing by other endpoints due to eventual
348+ # consistency.
349349 time .sleep (seconds_between_requests )
350- report = self .get_target_summary_report (
351- target_id = target_id ,
352- )
353- if report .status != TargetStatuses .PROCESSING :
354- return
350+ return
355351
356352 elapsed_time = time .monotonic () - start_time
357353 if elapsed_time > timeout_seconds : # pragma: no cover
You can’t perform that action at this time.
0 commit comments