Eric Gribkoff
025cb9b1e7
correctly name __dealloc__ method
6 years ago
Richard Belleville
ca5c0a8366
Switch to absolute import
6 years ago
Lidi Zheng
0d931d9c8f
Make Python 3 pass all unit tests
6 years ago
Lidi Zheng
814c858f3f
Enable Python 3
6 years ago
Eric Gribkoff
4b2086eecd
restore cython flag value to default after test
6 years ago
Eric Gribkoff
d79d2f1ca7
Do not reload grpc in unit tests
...
This can break subsequently run tests, including any which have already
stored references to gRPC enums (such as grpc.StatusCode.OK). The
subsequent tests will compare now be comparing the old enums to the
reloaded enums, and they will not match. This causes errors in
_metadata_code_details_test and a hang in _metadata_flags_test, when run
in sequence locally after _logging_test.
It's unclear why this has been working on Kokoro, but it is reproducible
locally and is behavior that should be avoided.
6 years ago
Sanjay Pujare
77e8525640
Regenerate projects
6 years ago
Sanjay Pujare
94d5587643
Regenerate projects
6 years ago
Richard Belleville
0daa420417
Free grpc_channel_args after creation
6 years ago
Richard Belleville
dd4830eae8
Make gRPC version string available as grpc.__version__
6 years ago
Eric Gribkoff
4e3e46df22
fix test
6 years ago
Eric Gribkoff
e678187996
use test constants, fix formatting
6 years ago
Eric Gribkoff
b74af8c70b
skip test with gevent
6 years ago
Eric Gribkoff
71e7e6ddc7
Add Watch method to health check service
6 years ago
Alexander Polcyn
00763bc3ea
Support named scope id's with ipv6 resolver on posix
6 years ago
Eric Gribkoff
b6b745f22d
disable broken gevent test
6 years ago
Eric Gribkoff
2f029bade0
Clean up server and channel objects in tests
6 years ago
Lidi Zheng
1ac4a01a0e
Fix Complain of Higher Version Pylint
6 years ago
Mark D. Roth
09f57c17ee
Refactor request routing code out of client_channel.
6 years ago
Jan Tattermusch
4f261a071e
do not use server override in python interop client by default
6 years ago
Eric Gribkoff
6211f4589b
removed unused traceback import
6 years ago
Lidi Zheng
71094e25c5
Remove dependency of grpc.framework.foundation.callable_util
...
* Used in _channel.py, _server.py, and _utilities.py
* This API can trace back to 4 years ago
* The code change ensures the logging info is exactly the same
6 years ago
Eric Gribkoff
3c49252d47
bazel docker image does not support ipv6
6 years ago
Eric Gribkoff
8183fe1299
fix BUILD.bazel
6 years ago
Lidi Zheng
08a90f03d4
Remove the fake package dependency && temporarily skip the Channelz tests
6 years ago
Eric Gribkoff
05d3ab2852
Address comments, improve tests
6 years ago
Eric Gribkoff
7bd03aeb0d
Revert "Revert "re-enable ExitTest""
...
This reverts commit 1bd231605a
.
6 years ago
Juanli Shen
1bd231605a
Revert "re-enable ExitTest"
6 years ago
Eric Gribkoff
718084c6b4
disable fork test on windows
6 years ago
Eric Gribkoff
468ae0f486
add tracking issue
6 years ago
Eric Gribkoff
a76d72e0a6
add tests
6 years ago
Eric Gribkoff
082b63e095
Refactor server deallocation
6 years ago
Lidi Zheng
8621bd47ad
Assign noop to build_package_protos for backward compatibility
6 years ago
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
6 years ago
Lidi Zheng
b9cb2459ea
Include LICENSE in artifact
6 years ago
Lidi Zheng
0e2f4061f5
Fix typo && remove unecessary except
6 years ago
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
6 years ago
Eric Gribkoff
e1c78993be
re-enable unit._exit_test.ExitTest
6 years ago
Richard Belleville
bd142d6c46
Actually build CensusContext
6 years ago
Lidi Zheng
087d48a8bd
Update the documentation about the status code constraint
6 years ago
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
6 years ago
Srini Polavarapu
a31ccd49e6
Regenerate projects
6 years ago
Richard Belleville
6b3baf2618
Add hooks for census context propagation
...
Appease the yapf gods
Reformat
6 years ago
ncteisen
7b1fc0faa2
Add max_results to ServerSockets
6 years ago
Mark D. Roth
c5f344deaf
Revert "Revert "Allow encoding arbitrary channel args on a per-address basis.""
6 years ago
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
6 years ago
hcaseyal
27e2ba31bf
Revert "Allow encoding arbitrary channel args on a per-address basis."
6 years ago
Mark D. Roth
dedff37b4f
Allow encoding arbitrary channel args on a per-address basis.
6 years ago
Eric Gribkoff
a324bcaad0
Pre-fix python3 pylint failures
6 years ago
Srini Polavarapu
9eaebf116d
Regenerate projects
6 years ago