pull/23107/head
Richard Belleville 5 years ago
parent 8487ce7faf
commit 3ade93b447
  1. 1
      src/python/grpcio/grpc/_cython/_cygrpc/fork_windows.pyx.pxi
  2. 2
      src/python/grpcio_tests/tests/unit/_contextvars_propagation_test.py

@ -19,6 +19,7 @@ def fork_handlers_and_grpc_init():
grpc_init()
# TODO: Propagate contextvars.
class ForkManagedThread(object):
def __init__(self, target, args=()):
self._thread = threading.Thread(target=target, args=args)

@ -106,6 +106,8 @@ class ContextVarsPropagationTest(unittest.TestCase):
self.assertEqual(_REQUEST, response)
test_call_credentials.assert_called(self)
# TODO: Test simple unary-unary.
if __name__ == '__main__':
logging.basicConfig()

Loading…
Cancel
Save