aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio_tests/tests/unit/_api_test.py
diff options
context:
space:
mode:
authorGravatar Eric Gribkoff <ericgribkoff@google.com>2018-12-19 09:44:38 -0800
committerGravatar Eric Gribkoff <ericgribkoff@google.com>2018-12-21 15:04:42 -0800
commit2f029bade0cdadcfdd955773bd43cc2f061cd3f7 (patch)
tree71d4435492f44e64bfef54f89e97e4b9e457c1d5 /src/python/grpcio_tests/tests/unit/_api_test.py
parent806c1e0b7abcde983827db1ef1dd6a3785f0a5c8 (diff)
Clean up server and channel objects in tests
Diffstat (limited to 'src/python/grpcio_tests/tests/unit/_api_test.py')
-rw-r--r--src/python/grpcio_tests/tests/unit/_api_test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python/grpcio_tests/tests/unit/_api_test.py b/src/python/grpcio_tests/tests/unit/_api_test.py
index 427894bfe9..0dc6a8718c 100644
--- a/src/python/grpcio_tests/tests/unit/_api_test.py
+++ b/src/python/grpcio_tests/tests/unit/_api_test.py
@@ -101,6 +101,7 @@ class ChannelTest(unittest.TestCase):
def test_secure_channel(self):
channel_credentials = grpc.ssl_channel_credentials()
channel = grpc.secure_channel('google.com:443', channel_credentials)
+ channel.close()
if __name__ == '__main__':