Commit Graph

2297 Commits

Author SHA1 Message Date
Eric Gribkoff 8d9190c0dd
Merge pull request #17675 from ericgribkoff/really_dealloc
correctly name __dealloc__ method
2019-01-09 12:01:10 -08:00
Eric Gribkoff 025cb9b1e7 correctly name __dealloc__ method 2019-01-09 10:33:48 -08:00
Richard Belleville ca5c0a8366 Switch to absolute import 2019-01-09 09:43:14 -08:00
apolcyn 26dddbb10d
Merge pull request #16187 from apolcyn/ipv6_resolver_scope_ids
Support named scope id's in grpc_parse_ipv6 on posix platforms
2019-01-08 14:36:20 -08:00
Eric Gribkoff b542cc8917
Merge pull request #17642 from ericgribkoff/restore_fork_support_flag
restore cython flag value to default after test
2019-01-04 15:20:10 -08:00
Eric Gribkoff 9685299cd3
Merge pull request #17641 from ericgribkoff/logging_test_fix
Do not reload grpc in unit tests
2019-01-04 15:19:41 -08:00
Eric Gribkoff 4b2086eecd restore cython flag value to default after test 2019-01-04 14:12:11 -08:00
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.
2019-01-04 14:03:31 -08:00
Sanjay Pujare 94d5587643 Regenerate projects 2019-01-03 15:35:20 -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
Alexander Polcyn 00763bc3ea Support named scope id's with ipv6 resolver on posix 2018-12-26 11:03:43 -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