aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio_tests
Commit message (Collapse)AuthorAge
* Regenerate projectsGravatar Juanli Shen2018-08-27
|
* Merge pull request #16425 from lamby/spelling-errorsGravatar Juanli Shen2018-08-22
|\ | | | | Fix a number of spelling errors.
* | Support gRPC Python client-side fork with epoll1Gravatar Eric Gribkoff2018-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A process may fork after invoking grpc_init() and use gRPC in the child if and only if the child process first destroys all gRPC resources inherited from the parent process and invokes grpc_shutdown(). Subsequent to this, the child will be able to re-initialize and use gRPC. After fork, the parent process will be able to continue to use existing gRPC resources such as channels and calls without interference from the child process. To facilitate gRPC Python applications meeting the above constraints, gRPC Python will automatically destroy and shutdown all gRPC Core resources in the child's post-fork handler, including cancelling in-flight calls (see detailed design below). From the client's perspective, the child process is now free to create new channels and use gRPC.
| * Fix a number of spelling errors.Gravatar Chris Lamb2018-08-22
|/
* Ensure thread_pool is not None for grpc.ServerGravatar Mehrdad Afshari2018-08-21
|
* yapf codeGravatar Jan Tattermusch2018-08-07
|
* upgrade python to protobuf 3.6.0Gravatar Jan Tattermusch2018-08-07
|
* Minimal Bazel BUILD files for grpcio PythonGravatar Naresh2018-08-02
| | | | | Follow-up on the additions in #15992. Pad the grpcio Python package with necessary BUILD files along with 2 simple tests.
* Add SERVICE_NAME to reflection/healthGravatar Mehrdad Afshari2018-07-26
|
* Disable ChannelConnectivityTest for the Beta APIGravatar Mehrdad Afshari2018-07-25
| | | | | | The Beta API has been unsupported for a while and we plan to disable the flaky tests in the Beta API as we see them before we entirely remove it.
* Regenerate projectsGravatar Srini Polavarapu2018-07-19
|
* Merge pull request #15694 from srini100/bump-to-v1.14Gravatar Srini Polavarapu2018-06-14
|\ | | | | Bump master to v1.14
* \ Merge pull request #15744 from kpayson64/disable_lruGravatar kpayson642018-06-13
|\ \ | | | | | | Disable LRU cache test on gevent
| * | Disable LRU cache test on geventGravatar kpayson642018-06-13
| | |
* | | Merge pull request #15689 from ↵Gravatar Nathaniel Manista2018-06-11
|\ \ \ | | | | | | | | | | | | | | | | nathanielmanistaatgoogle/generic-rpc-handler-validation Check conformance to grpc.GenericRpcHandler type.
| | | * Regenrate projectsGravatar Srini Polavarapu2018-06-08
| |_|/ |/| |
* | | Merge pull request #15682 from mehrdada/bump-pylintGravatar Mehrdad Afshari2018-06-08
|\ \ \ | | | | | | | | Bump pylint to 1.9.2
| | * | Check conformance to grpc.GenericRpcHandler typeGravatar Nathaniel Manista2018-06-08
| |/ / |/| |
* | | Merge pull request #14879 from santoshankr/python_ssl_session_cache_lruGravatar Nathaniel Manista2018-06-08
|\ \ \ | | | | | | | | TLS session resumption support for Python clients.
| | * | Run yapf to reformat Python codeGravatar Mehrdad Afshari2018-06-07
| | | |
| | * | Remove unused _junkdrawerGravatar Mehrdad Afshari2018-06-07
| | | |
| | * | Fix raising-format-tuple pylint warningGravatar Mehrdad Afshari2018-06-07
| | | |
| | * | Refactor to avord redefining argumentGravatar Mehrdad Afshari2018-06-07
| | | |
| | * | Fix arguments-differ pylint warningGravatar Mehrdad Afshari2018-06-07
| | | |
| | * | Fix useless-super-delegation pylint warningsGravatar Mehrdad Afshari2018-06-07
| |/ / |/| |
* | | Merge pull request #14557 from ghostwriternr/py-custom-loggerGravatar Nathaniel Manista2018-06-07
|\ \ \ | | | | | | | | Update logging in Python to use module-level logger.
| | * | TLS session resumption support for Python clientsGravatar Santosh Ananthakrishnan2018-06-07
| |/ / |/| | | | | | | | | | | | | | | | | | | | This change adds an experimental ssl_session_cache_lru function to the Python API that returns an encapsulated grpc_ssl_session_cache (#14483). Python clients may use this object as an argument for the grpc.ssl_session_cache channel option if they wish to cache and resume TLS sessions with a server.
| * | Update logging in Python to use module-level loggerGravatar Naresh2018-05-31
| |/ | | | | | | | | | | | | All logging in Python so far was done with the root logger, resulting in logs like: `ERROR:Exception calling application:`. With module-level loggers, the logs will instead include the module in which the exception is raised: `ERROR:grpc._server:Exception calling application:`
* / Use the correct proto for benchmark_serivceGravatar kpayson642018-05-29
|/
* Surfaces debug_error_string to Python APIGravatar Noah Eisen2018-05-17
| | | | | In case of error, the user can access call.debug_error_string() which contains a string representation of error from the c core.
* Install futures package only on Python 2Gravatar Mehrdad Afshari2018-05-14
|
* Merge remote-tracking branch 'upstream/master' into remove_cleanup_threadGravatar kpayson642018-05-03
|\
| * Regenerate projectsGravatar Mehrdad Afshari2018-05-02
| |
| * Add grpc.Channel.closeGravatar Nathaniel Manista2018-05-02
| |
| * Keep Core memory inside cygrpc.Channel objectsGravatar Nathaniel Manista2018-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes invocation-side completion queues from the _cygrpc API. Invocation-side calls are changed to no longer share the same lifetime as Core calls. Illegal metadata is now detected on invocation rather than at the start of a batch (so passing illegal metadata to a response-streaming method will now raise an exception immediately rather than later on when attempting to read the first response message). It is no longer possible to create a call without immediately starting at least one batch of operations on it. Only tests are affected by this change; there are no real use cases in which one wants to start a call but wait a little while before learning that the server has rejected it. It is now required that code above cygrpc.Channel spend threads on next_event whenever events are pending. A cygrpc.Channel.close method is introduced, but it merely blocks until the cygrpc.Channel's completion queues are drained; it does not itself drain them. Noteworthy here is that we drop the cygrpc.Channel.__dealloc__ method. It is not the same as __del__ (which is not something that can be added to cygrpc.Channel) and there is no guarantee that __dealloc__ will be called at all or that it will be called while the cygrpc.Channel instance's Python attributes are intact (in testing, I saw both in different environments). This commit does not knowingly break any garbage-collection-based memory management working (or "happening to appear to work in some circumstances"), though if it does, the proper remedy is to call grpc.Channel.close... which is the objective towards which this commit builds.
* | Remove CleanupThreadGravatar kpayson642018-04-30
|/ | | | | This is no longer needed with the addition of a close() API that allows clean shutdown.
* Merge pull request #15113 from mehrdada/pylint-tests-1Gravatar Mehrdad Afshari2018-04-19
|\ | | | | Eliminate some of the more esoteric pylint suppressions for tests
* \ Merge pull request #15114 from mehrdada/bump-protobuf-submodule-to-3.5.2Gravatar Mehrdad Afshari2018-04-19
|\ \ | | | | | | Bump protobuf submodule to 3.5.2
| | * Eliminate broad-except suppressionGravatar Mehrdad Afshari2018-04-19
| | |
| | * Eliminate bare-except suppressionGravatar Mehrdad Afshari2018-04-19
| | |
| | * Eliminate old-style-class suppressionGravatar Mehrdad Afshari2018-04-19
| | |
| | * Eliminate wildcard-import suppressionGravatar Mehrdad Afshari2018-04-19
| | |
| | * Eliminate function-redefined suppressionGravatar Mehrdad Afshari2018-04-19
| | |
| | * Eliminate unnecessary-lambda suppressionGravatar Mehrdad Afshari2018-04-19
| | |
| | * Eliminate undefined-variable suppressionGravatar Mehrdad Afshari2018-04-19
| | |
| | * Eliminate non-iterator-returned suppressionGravatar Mehrdad Afshari2018-04-19
| | |
| | * Eliminate undefined-loop-variable suppressionGravatar Mehrdad Afshari2018-04-19
| | |
| | * Eliminate raising-bad-type suppressionGravatar Mehrdad Afshari2018-04-19
| | |
| | * Eliminate unreachable suppressionGravatar Mehrdad Afshari2018-04-19
| | |
| | * Eliminate bad-continuation suppressionGravatar Mehrdad Afshari2018-04-19
| |/ |/|