Commit Graph

2289 Commits

Author SHA1 Message Date
Lidi Zheng 0d931d9c8f Make Python 3 pass all unit tests 2019-01-07 13:41:02 -08:00
Lidi Zheng 814c858f3f Enable Python 3 2019-01-04 18:45:01 -08:00
Richard Belleville a76465c65c
Merge pull request #17600 from grpc/memory-leak
Free grpc_channel_args after creation
2018-12-27 16:42:43 -08:00
Richard Belleville 87e45f384c
Merge pull request #17580 from grpc/expose-version
Expose version
2018-12-27 16:20:11 -08:00
Richard Belleville 0daa420417 Free grpc_channel_args after creation 2018-12-27 15:21:12 -08:00
Richard Belleville dd4830eae8 Make gRPC version string available as grpc.__version__ 2018-12-27 13:50:30 -08:00
Eric Gribkoff 4e3e46df22 fix test 2018-12-27 11:53:54 -08:00
Eric Gribkoff e678187996 use test constants, fix formatting 2018-12-27 09:39:53 -08:00
Eric Gribkoff b74af8c70b skip test with gevent 2018-12-26 15:04:38 -08:00
Eric Gribkoff 71e7e6ddc7 Add Watch method to health check service 2018-12-26 12:39:58 -08:00
Eric Gribkoff b6b745f22d disable broken gevent test 2018-12-21 15:04:42 -08:00
Eric Gribkoff 2f029bade0 Clean up server and channel objects in tests 2018-12-21 15:04:42 -08:00
Jan Tattermusch 95511c0cfd
Merge pull request #17407 from jtattermusch/interop_csharp_sni_fix
better testing of SNI for C-based languages
2018-12-21 11:12:46 +01:00
Lidi Zheng 102d5d88a6
Merge pull request #17570 from lidizheng/fix-complain
Fix Complain of Higher Version Pylint
2018-12-20 14:21:14 -08:00
Mark D. Roth db9be19f5d
Merge pull request #16008 from markdroth/client_channel_refactor
Refactor request routing code out of client_channel
2018-12-20 13:42:51 -08:00
Lidi Zheng 1ac4a01a0e Fix Complain of Higher Version Pylint 2018-12-20 12:13:08 -08:00
Lidi Zheng 97453a3d81
Merge pull request #17303 from lidizheng/sanity-python-3
Run pylint test in Python 3
2018-12-20 11:22:37 -08:00
Mark D. Roth 09f57c17ee Refactor request routing code out of client_channel. 2018-12-20 10:10:19 -08:00
Jan Tattermusch 4f261a071e do not use server override in python interop client by default 2018-12-20 14:49:54 +01:00
Eric Gribkoff 6211f4589b removed unused traceback import 2018-12-19 08:34:13 -08:00
Eric Gribkoff 1af10acdac
Merge pull request #17444 from ericgribkoff/server_dealloc
Refactor server deallocation
2018-12-18 10:59:04 -08:00
Lidi Zheng cb408e70fb
Merge pull request #17535 from lidizheng/remove-fake-channelz-dependency
Remove the fake package dependency
2018-12-18 10:36:29 -08:00
Eric Gribkoff 3c49252d47 bazel docker image does not support ipv6 2018-12-17 21:05:13 -08:00
Eric Gribkoff 8183fe1299 fix BUILD.bazel 2018-12-17 18:29:25 -08:00
Lidi Zheng 08a90f03d4 Remove the fake package dependency && temporarily skip the Channelz tests 2018-12-17 15:11:44 -08:00
Eric Gribkoff 05d3ab2852 Address comments, improve tests 2018-12-17 15:09:46 -08:00
Eric Gribkoff 7bd03aeb0d Revert "Revert "re-enable ExitTest""
This reverts commit 1bd231605a.
2018-12-17 14:24:35 -08:00
Juanli Shen 1bd231605a
Revert "re-enable ExitTest" 2018-12-17 11:21:15 -08:00
Eric Gribkoff 718084c6b4 disable fork test on windows 2018-12-17 08:53:09 -08:00
Eric Gribkoff 468ae0f486 add tracking issue 2018-12-17 08:53:09 -08:00
Eric Gribkoff a76d72e0a6 add tests 2018-12-17 08:53:09 -08:00
Eric Gribkoff 082b63e095 Refactor server deallocation 2018-12-17 08:53:09 -08:00
Lidi Zheng d64fd75dd8
Merge pull request #17490 from lidizheng/py-status-3
Add grpcio-status extension package
2018-12-14 13:03:31 -08:00
Lidi Zheng 8621bd47ad Assign noop to build_package_protos for backward compatibility 2018-12-14 11:23:18 -08:00
Lidi Zheng 40b8ca97a1 Update docstring to make it more clear
* Mark API as experimental
* Rephrase the raise condition
* Add more detail to the returned object
2018-12-14 10:28:48 -08:00
Eric Gribkoff eb65dbb030
Merge pull request #17466 from ericgribkoff/exit_tests
re-enable ExitTest
2018-12-14 09:06:01 -08:00
Lidi Zheng b9cb2459ea Include LICENSE in artifact 2018-12-13 18:07:52 -08:00
Lidi Zheng 0e2f4061f5 Fix typo && remove unecessary except 2018-12-13 17:05:39 -08:00
Lidi Zheng 45b3230ef2 Add grpcio-status extension package
* The new package has 2 API `from_call` and `to_status`
* Utilize the experimental API `abort_with_status`
* Add 5 unit test cases
2018-12-13 10:18:44 -08:00
Eric Gribkoff e1c78993be re-enable unit._exit_test.ExitTest 2018-12-12 20:15:53 -08:00
Lidi Zheng e9cae6bba3
Merge pull request #17481 from lidizheng/py-status-2
New abort with grpc.Status API
2018-12-12 16:38:14 -08:00
Richard Belleville bd142d6c46 Actually build CensusContext 2018-12-12 14:59:50 -08:00
Lidi Zheng 087d48a8bd Update the documentation about the status code constraint 2018-12-12 14:31:52 -08:00
Lidi Zheng fd74fcf2a0 New abort with grpc.Status API
* Add `abort_with_status` method in ServicerContext
* Add `Status` interface similar to the design of Details in interceptor
* Add 3 unit test cases for abort mechanism
2018-12-12 13:48:39 -08:00
Richard Belleville e829a81118
Merge pull request #17460 from grpc/enable-census
Add hooks for census context propagation
2018-12-11 14:49:19 -08:00
Richard Belleville 6b3baf2618 Add hooks for census context propagation
Appease the yapf gods

Reformat
2018-12-11 12:59:31 -08:00
Noah Eisen 9e9cae7839
Merge pull request #17456 from ncteisen/socket-pagination
Channelz: Add Pagination to ServerSockets
2018-12-11 12:27:49 -08:00
ncteisen 7b1fc0faa2 Add max_results to ServerSockets 2018-12-11 08:24:40 -08:00
Mark D. Roth c5f344deaf
Revert "Revert "Allow encoding arbitrary channel args on a per-address basis."" 2018-12-11 07:48:14 -08:00
Lidi Zheng 8cb2d0546d Upgrade sanity Docker image to debian:stretch
* Use latest pylint in Python 3.7 (they dropped support for PY2)
* Make latest pylint happy
* Forced to upgrade to shellcheck 0.4.4
* Make shellcheck 0.4.4 happy
* Adopt reviewers' advice to reduce global disabled rules
2018-12-10 16:21:49 -08:00