Mark D. Roth
bab8123763
LB policy picker API
6 years ago
Srini Polavarapu
b0efc103e3
Regenerate projects
6 years ago
Arjun Roy
195a30bb8b
Grpc: Change grpc_handshake and grpc_handshake_mgr to use CPP implementations.
...
grpc_handshake is renamed to GrpcHandshake, using C++ class definitions
instead of C-style vtable classes. Update callers to use new interfaces.
We use RefCountedPtr to simplify reference tracking.
6 years ago
Eric Gribkoff
5a20b60cda
fix flake in test_abort_does_not_leak_local_vars
6 years ago
Eric Gribkoff
28252eb0dd
force gc in test
6 years ago
Eric Gribkoff
c5255e9a5e
python: do not store raised exception in _Context.abort()
...
Python 3 exceptions include a `__traceback__` attribute that includes
refs to all local variables. Saving the exception results in leaking
references to the, among other things, the Cython grpc_call wrapper and
prevents garbage collection and release of core resources, even after
the server is shutdown.
See
https://www.python.org/dev/peps/pep-3134/#open-issue-garbage-collection
6 years ago
Eric Gribkoff
7da0aacef2
Revert "Merge pull request #17644 from lidizheng/bzl-py3"
...
This reverts commit a25828ad78
, reversing
changes made to 5176fd80fc
.
6 years ago
Vijay Pai
8fb2f4abea
Fix a common typo
6 years ago
Yihua Zhang
a3d997cbdc
Add a TLS credential surface API (experimental)
6 years ago
Lidi Zheng
5198ccd89c
Revert "Add basic benchmark test for Python"
6 years ago
Lidi Zheng
fcbb126baf
Point the hack of proto message comparison to new issue
6 years ago
Lidi Zheng
91fde06b12
Remove the dependency of 'six'
6 years ago
Lidi Zheng
1a688982a4
Cast the str type if it is unicode
6 years ago
Lidi Zheng
7e90dad675
Adopt reviewer's advices
6 years ago
Lidi Zheng
f817d49e47
Update the README.md
6 years ago
Lidi Zheng
141e42f9b9
Revert "Remove the fake package dependency && temporarily skip the Channelz tests"
...
This reverts commit 08a90f03d4
.
6 years ago
Richard Belleville
dbad0522c3
Revert "Merge pull request #17752 from grpc/license-symlinks"
...
This reverts commit 3f8e15e2a4
, reversing
changes made to a8662121c7
.
6 years ago
Lidi Zheng
b60c5cdc82
Adopte reviewer's suggestion
6 years ago
Lidi Zheng
95d4120f46
Add copyright to BUILD file
6 years ago
Lidi Zheng
4f451c78a4
Add basic benchmark test for Python
6 years ago
Richard Belleville
8609f42e15
Stop copying LICENSE files
6 years ago
Lidi Zheng
17fa4b0caf
Use monkey patch function to solve namespace package issue
6 years ago
Juanli Shen
bbe2587c39
Enable per-channel subchannel pool
6 years ago
Eric Gribkoff
30a95d354c
rename census context hooks
6 years ago
Sanjay Pujare
ad54166f92
Regenerate projects
6 years ago
Lidi Zheng
222db62721
Revert the compare of protobuf message to comparing encoded result
6 years ago
Eric Gribkoff
09f72a1057
avoid AttributeError when object init fails
6 years ago
Eric Gribkoff
4d391b64e1
avoid AttributeError when object init fails
6 years ago
Prashant Jaikumar
95965f71d3
Remove network_status_tracker
...
Remove network_status_tracker and its unit test as it does nothing. We
can add tests for network status change in another commit.
6 years ago
Lidi Zheng
7df3475a9f
Enable Bazel Python 3 for every PR
...
* Reverted hack in _reflection_servicer_test.py
* To see if Kokoro is happy about it
6 years ago
Eric Gribkoff
1c91bcceb0
correctly name __dealloc__ method
6 years ago
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