kennknowles commented on code in PR #26206:
URL: https://github.com/apache/beam/pull/26206#discussion_r1164361092
##########
sdks/python/apache_beam/runners/dataflow/dataflow_runner.py:
##########
@@ -1556,6 +1554,12 @@ def wait_until_finish(self, duration=None):
'Dataflow pipeline failed. State: %s, Error:\n%s' %
(self.state, getattr(self._runner, 'last_error_msg', None)),
self)
+ elif PipelineState.is_terminal(
+ self.state) and self.state != PipelineState.DONE and self._runner:
Review Comment:
The previous behavior was a bug. It is fine with me to change it. You could
run internal global presubmit and see if anyone breaks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]