diff options
author | Nathaniel Manista <nathaniel@google.com> | 2015-08-18 01:30:29 +0000 |
---|---|---|
committer | Nathaniel Manista <nathaniel@google.com> | 2015-08-21 18:33:02 +0000 |
commit | f36e1b74b5b20f80439b6204389f8d2a9e8d761c (patch) | |
tree | cba974b5c2bf823c99daa58d7b9d2dd70f3eae97 /src/python/grpcio_test/grpc_test/framework/interfaces/base | |
parent | 3447c08ed19fad677c924f64c023c91e4f19a4fb (diff) |
The RPC Framework core package.
This is the second generation of the old base package (framework.base)
and implements the translation between the new links and base
interfaces.
Diffstat (limited to 'src/python/grpcio_test/grpc_test/framework/interfaces/base')
-rw-r--r-- | src/python/grpcio_test/grpc_test/framework/interfaces/base/test_cases.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/python/grpcio_test/grpc_test/framework/interfaces/base/test_cases.py b/src/python/grpcio_test/grpc_test/framework/interfaces/base/test_cases.py index dd332fe5dd..5c8b176da4 100644 --- a/src/python/grpcio_test/grpc_test/framework/interfaces/base/test_cases.py +++ b/src/python/grpcio_test/grpc_test/framework/interfaces/base/test_cases.py @@ -211,8 +211,10 @@ class _OperationTest(unittest.TestCase): elif instruction.kind is _control.Instruction.Kind.CONCLUDE: break - invocation_end.stop_gracefully() - service_end.stop_gracefully() + invocation_stop_event = invocation_end.stop(0) + service_stop_event = service_end.stop(0) + invocation_stop_event.wait() + service_stop_event.wait() invocation_stats = invocation_end.operation_stats() service_stats = service_end.operation_stats() |