Ning Kang created BEAM-10637:
--------------------------------

             Summary: Fix start/stop hanging issue on test stream service 
controller
                 Key: BEAM-10637
                 URL: https://issues.apache.org/jira/browse/BEAM-10637
             Project: Beam
          Issue Type: Improvement
          Components: runner-py-interactive
            Reporter: Ning Kang
            Assignee: Ning Kang


The test stream controller sometimes hangs forever when the underlying grpc 
server start or stop in the wrong timing:

E.g., try to stop a server never started, stop a server already stopped, start 
a server already started and etc.

The change is to add start/stop states to handle all 6 combinations:
# start server not started
# start server started
# start server stopped
# stop server not started
# stop server started
# stop server stopped

So that it never hangs.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to