aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python
Commit message (Collapse)AuthorAge
* Implement wait-for-ready behavior in Python stress and qps clientGravatar ncteisen2017-01-10
| | | | | The clients now block until the channel is in the READY state. This fixes some test flakiness issues we have had.
* Merge pull request #9129 from markdroth/handshaker_pluginGravatar Mark D. Roth2017-01-09
|\ | | | | Handshaker plugin mechanism
| * Handshaker plugin mechanism.Gravatar Mark D. Roth2017-01-06
| |
* | v1.0.x → master upmergeGravatar Nathaniel Manista2017-01-06
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | Manual resolution: - New test added in src/python/grpcio_test/tests/tests.json - Timeout-related edits resolved in tools/run_tests/run_tests.py Manual changes: - Pass request iterator rather than request sequence in _reflection_servicer_test.py
* | Merge pull request #9212 from nathanielmanistaatgoogle/intraopGravatar Nathaniel Manista2016-12-29
|\ \ | | | | | | Rename interop-as-a-unit-test "intraop".
| * | Rename interop-as-a-unit-test "intraop"Gravatar Nathaniel Manista2016-12-29
| | | | | | | | | | | | | | | It's been confusing that these tests have been called "interop" but are not actually tests of interoperation.
* | | Set Python documentation copyrightGravatar Masood Malekghassemi2016-12-27
|/ /
| * Add _invocation_defects_test.InvocationDefectsTestGravatar siddharthshukla2016-12-22
| | | | | | | | | | Added tests for detecting invocation time defects arising out of the runtime.
| * Replace Python unit test iterables by iteratorsGravatar siddharthshukla2016-12-20
| | | | | | | | | | Cast iterables into iterators for stream based compression, empty message, and metadata tests.
| * Handle non-iterator objects in consume_request_iteratorGravatar siddharthshukla2016-12-20
| | | | | | | | | | Restructure the consume_request_iterator method to handle exceptions where the object being passed is not an iterator. Fixes #8231 and #8454.
| * Merge pull request #9156 from nathanielmanistaatgoogle/Exception.messageGravatar Nathaniel Manista2016-12-19
| |\ | | | | | | Drop use of Exception.message in metadata test.
* | \ Merge pull request #9145 from nathanielmanistaatgoogle/v1.0.x-upmergeGravatar Nicolas Noble2016-12-19
|\ \ \ | | | | | | | | v1.0.x manual upmerge
* | | | Add python client to test negative http2 conditionsGravatar ncteisen2016-12-19
| | | | | | | | | | | | | | | | Documentation for the new tests can be found https://github.com/grpc/grpc/blob/master/doc/negative-http2-interop-test-descriptions.md
| | * | Fix invalid tests.jsonGravatar siddharthshukla2016-12-17
| | | | | | | | | | | | | | | | Add a comma delimiter for "_invalid_metadata_test.InvalidMetadataTest".
| | | * Drop use of Exception.message in metadata testGravatar Nathaniel Manista2016-12-17
| | |/ | | | | | | | | | | | | Apparently Exception.message was introduced in Python 2.5 and deprecated almost immediately afterward in Python 2.6.
| * / v1.0.x → master upmergeGravatar Nathaniel Manista2016-12-16
|/| | | |/ | | | | | | | | | | | | | | | | Manual changes: - Fixed use of Exception.message in _invalid_metadata_test.py - Fixed merge of one_failed_as_unavailable in rpc_server_spec.rb - Added "set -e" to generate_build_additions.sh
* | Merge pull request #9120 from ↵Gravatar Masood Malekghassemi2016-12-15
|\ \ | | | | | | | | | | | | soltanmm-google/if-you-run-away-from-things-it-just-means-you're-going-to-see-them-again-when-you-wrap-around-the-universe Fix Python setup-time diagnostics
| | * Merge pull request #8995 from ncteisen/python_call_batchGravatar Noah Eisen2016-12-15
| | |\ | | | | | | | | Add check on return value from start_client_batch
| | | * Add check on return value from start_client_batchGravatar ncteisen2016-12-15
| | | |
| * | | Diagnose AttrErr as too-old setuptoolsGravatar Masood Malekghassemi2016-12-14
| | | |
| | * | Upversion PythonGravatar Masood Malekghassemi2016-12-14
| | | |
| | * | Patch overlooked strings from Python un-namespacingGravatar Masood Malekghassemi2016-12-14
| | | |
* | | | Patch overlooked strings from Python un-namespacingGravatar Masood Malekghassemi2016-12-14
|/ / /
* | | Merge pull request #9006 from kpayson64/revert_bizarre_apiGravatar kpayson642016-12-13
|\ \ \ | | | | | | | | Revert "Add configurable exit grace periods and shutdown handlers"
| | * \ Merge pull request #9045 from nathanielmanistaatgoogle/interop-fixes-v1.0.xGravatar Nathaniel Manista2016-12-13
| | |\ \ | | | | | | | | | | Interop fixes.
| | * \ \ Merge pull request #9080 from ↵Gravatar Nathaniel Manista2016-12-13
| | |\ \ \ | | | |_|/ | | |/| | | | | | | | | | | | nathanielmanistaatgoogle/channel_ready_future_tests-v1.0.x Channel ready future test tweaks.
| | | * | Style fix: pass keyword arguments by keywordGravatar Nathaniel Manista2016-12-13
| | | | |
| | | * | Use LONG_TIMEOUT for calls that do not time outGravatar Nathaniel Manista2016-12-13
| | | | |
| | * | | Up-version PythonGravatar Masood Malekghassemi2016-12-12
| | | | |
| | * | | Recover 'namespace'd Python distribution packagesGravatar Masood Malekghassemi2016-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | Uses dynamic loading to paper-over the negative effects of losing namespace packages in the previous commit.
* | | | | Recover 'namespace'd Python distribution packagesGravatar Masood Malekghassemi2016-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | Uses dynamic loading to paper-over the negative effects of losing namespace packages in the previous commit.
| | * | | Un-namespace Python packagesGravatar Masood Malekghassemi2016-12-12
| | |/ / | | | | | | | | | | | | | | | | Setuptools was updated and our hacky namespace-package-chickens came back to roost. This removes the unsupported namespace package hacks.
* | | | Un-namespace Python packagesGravatar Masood Malekghassemi2016-12-12
| | | | | | | | | | | | | | | | | | | | Setuptools was updated and our hacky namespace-package-chickens came back to roost. This removes the unsupported namespace package hacks.
| | * | Merge pull request #9041 from ↵Gravatar Nathaniel Manista2016-12-11
| | |\ \ | | | | | | | | | | | | | | | | | | | | nathanielmanistaatgoogle/servicer_context_doc_strings-v1.0.x ServicerContext methods doc string fix and tweak.
| | | | * Drop unnecessary sleep in interop testGravatar Nathaniel Manista2016-12-09
| | | | |
| | | | * Correct Python cancel_after_begin interop testGravatar Nathaniel Manista2016-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was a mistake that requests might be sent; the test specification calls for no requests to be sent. It was a mistake that the response future's cancelled() method was called; the cancelled() method returns something more like "was this object's cancel() method called earlier?" than "did the RPC terminate with status code CANCELLED?". Since it's something that we'd well enough like to work I've retained the cancelled() call with a different failure message.
* | | | | Add ServiceRpcHandler to exported namesGravatar Ken Payson2016-12-09
| | | | |
| | * | | Up-version Python for backportsGravatar Masood Malekghassemi2016-12-09
| | | |/ | | |/|
| | | * ServicerContext methods doc string fix and tweakGravatar Nathaniel Manista2016-12-09
| | |/ | | | | | | | | | ServicerContext.set_code takes a (grpc.)StatusCode, not an integer.
* | | Merge pull request #8742 from kpayson64/service_names_hintGravatar kpayson642016-12-09
|\ \ \ | | | | | | | | Allow handlers to hint at the services they export
| * | | Allow handlers to hint at the services they exportGravatar kpayson642016-12-08
| | | |
| | * | Revert "Add configurable exit grace periods and shutdown handlers"Gravatar Ken Payson2016-12-08
| | | | | | | | | | | | | | | | This reverts commit 3045a379aa76ce9ee930f427daa4ee799b0162aa.
| | | * Merge pull request #8990 from ↵Gravatar Masood Malekghassemi2016-12-07
| | | |\ | | | | | | | | | | | | | | | | | | | | soltanmm-google/have-fun-filling-in-the-blanks-of-reality-with-belief-structures Backport Python features to v1.0.x
| | | | * Backport Python features to 1.0.xGravatar Masood Malekghassemi2016-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | Backports per-object grpc_init/deinit and separated-file grpc protoc codegen (#7538, #8246, #8920).
* | | | | Merge pull request #8913 from markdroth/security_handshaker2Gravatar Craig Tiller2016-12-02
|\ \ \ \ \ | | | | | | | | | | | | Rewrite security handshaker to use generic handshaker API.
* \ \ \ \ \ Merge pull request #8920 from ↵Gravatar Masood Malekghassemi2016-12-02
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | soltanmm-google/fracking-is-not-inherently-horrible-it-just-does-not-have-enough-oversight Switch to command-arg for Python split-codegen
| * | | | | Switch to command-arg for Python split-codegenGravatar Masood Malekghassemi2016-12-02
| | | | | | | | | | | | | | | | | | | | | | | | Almost fixes #8753 (which still needs a test).
| | * | | | Use the same server code for both secure and insecure servers.Gravatar Mark D. Roth2016-12-02
| | | | | |
* | | | | | Add configurable exit grace periods and shutdown handlersGravatar Ken Payson2016-12-01
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The server cleanup method is untested. The join() function that exposes it is only called by the internals of threading.py, and we don't hold a reference to the server thread to explicitly join() it, and I'm not sure we should add a reference just for this purpose. Moreover, the threading.py only calls join(None), the code path in question isn't even exercised by the internals of threading.py. Its just there to make sure we properly follow the join(timeout) semantics.
| | | * | Refactor channel call managementGravatar Nathaniel Manista2016-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The requirement that any created managed call must have operations performed on it is obstructing proper handling of the case of applications providing invalid invocation metadata. In such cases the RPC is "over before it starts" when the very first call to start_client_batch returns an error.