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
87e45f384c
Merge pull request #17580 from grpc/expose-version
...
Expose version
2018-12-27 16:20:11 -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
97453a3d81
Merge pull request #17303 from lidizheng/sanity-python-3
...
Run pylint test in Python 3
2018-12-20 11:22:37 -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
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
Eric Gribkoff
eb65dbb030
Merge pull request #17466 from ericgribkoff/exit_tests
...
re-enable ExitTest
2018-12-14 09:06:01 -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
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
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
Eric Gribkoff
d74a6b1860
Merge pull request #17410 from ericgribkoff/channelz_stop_server
...
stop() server and enable skipped channelz test
2018-12-07 09:19:27 -08:00
Eric Gribkoff
a324bcaad0
Pre-fix python3 pylint failures
2018-12-06 14:51:00 -08:00
Eric Gribkoff
9dce850250
stop() server and enable skipped channelz test
2018-12-05 11:48:17 -08:00
Lidi Zheng
c339ba3229
Merge pull request #16971 from lidizheng/surface-exceptions
...
Surface exceptions from Cython to Python as much as possible
Fixed #16643
2018-12-03 16:42:13 -08:00
Lidi Zheng
7ef8fc826c
Merge pull request #17266 from lidizheng/python-channelz
...
Channelz Python wrapper implementation
2018-11-29 16:10:32 -08:00
Lidi Zheng
69b6c047bc
Update docstring of Channelz function && add default variable initialization
2018-11-29 12:57:00 -08:00
Lidi Zheng
8e3234963e
Update comments && modify function name
2018-11-29 11:29:43 -08:00
Lidi Zheng
7eddafabdd
Disable three subchannel unit tests for gevent
2018-11-28 17:15:42 -08:00
Lidi Zheng
99f248ae12
Remove the `del` hack and skip server related test cases
2018-11-28 14:49:28 -08:00
Lidi Zheng
53476eced4
Adopt reviewer's suggestions
...
* Correct the StatusCode
* Format code
* Use @staticmethod
* Fix typo
2018-11-28 10:30:39 -08:00
Lidi Zheng
43599facf4
Channelz Python wrapper implementation
...
* Expose the C-Core API in Cython layer
* Handle the object translation
* Create a separate package for Channelz specifically
* Handle nullptr and raise exception if seen one
* Translate C++ Channelz unit tests
* Adding 5 more invalid query unit tests
Adding peripheral utility for grpcio-channelz package
* Add to `pylint_code.sh`
* Add to Python build script
* Add to artifact build script
* Add to Bazel
* Add to Sphinx module list
2018-11-27 17:27:39 -08:00
Lidi Zheng
3adca9ff93
Surface exceptions from Cython to Python as much as possible
2018-11-27 12:11:09 -08:00
Lidi Zheng
4bc98acfd7
Merge pull request #17281 from lidizheng/issue-16718
...
Raise the exception while credential initialization
2018-11-26 10:35:20 -08:00
Lidi Zheng
b7fd18daa4
Raise the exception while credential initialization
2018-11-26 10:15:14 -08:00
Jan Tattermusch
346d745c6e
Merge pull request #15640 from jtattermusch/slow_python_interop_build
...
Run interop tests using python3.4 (and build interop with 3.4 only)
2018-11-26 09:38:05 +01:00