aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio_tests
Commit message (Collapse)AuthorAge
* Upgrade yapf to 0.20.0Gravatar Mehrdad Afshari2018-01-02
| | | | Upgrade yapf version to 0.20.0 and reformat Python files.
* Merge pull request #13891 from nathanielmanistaatgoogle/12531Gravatar Nathaniel Manista2017-12-31
|\ | | | | Reform cygrpc.OperationTag and cygrpc.Event.
* \ Merge branch v1.8.x into masterGravatar Mehrdad Afshari2017-12-31
|\ \ | | | | | | | | | Upmerge v1.8.3 into master
| | * Reform cygrpc.OperationTag and cygrpc.EventGravatar Nathaniel Manista2017-12-31
| | | | | | | | | | | | | | | | | | Rather than single classes they are now broken up into class families with each class containing only those fields and methods that are needed in the context in which the class is used.
| * | Bump version to 1.8.3Gravatar Mehrdad Afshari2017-12-30
| |/
| * Reform cygrpc.OperationGravatar Nathaniel Manista2017-12-21
| | | | | | | | | | | | | | | | | | It is now a family of classes conforming to an interface rather than a single class no single instance of which makes use of all behavior scoped to the class. It also now only uses gRPC Core memory for the time of a single batch rather than for the entire lifetime of the instance.
* | Fix port picking logic in Python testsGravatar Mehrdad Afshari2017-12-20
| |
* | Merge pull request #13843 from kpayson64/fix_python_testsGravatar kpayson642017-12-20
|\ \ | | | | | | Disable so_reuseport for Python tests
| * | Disable so_reuseport for Python testsGravatar Ken Payson2017-12-20
| | |
| | * Bump to 1.8.2Gravatar Ken Payson2017-12-19
| | |
| | * Bump version to 1.8.1Gravatar Mehrdad Afshari2017-12-14
| | |
* | | Merge pull request #13789 from grpc/v1.8.xGravatar Mehrdad Afshari2017-12-14
|\ \ \ | |/ / |/| / | |/ Upmerge changes from v1.8.x to master
| * Reallow out-of-spec metadataGravatar Nathaniel Manista2017-12-14
| | | | | | | | | | | | This restore unsupported, de facto behavior that was dropped in 80516e884a8cd03daaa1f4a40d2bb2 but that it turns out a lot of folks have been using.
* | Merge remote-tracking branch 'origin/v1.8.x'Gravatar Mehrdad Afshari2017-12-11
|\|
| * v1.8.0-pre2 is now v1.8.0Gravatar Mehrdad Afshari2017-12-12
| |
| * Add tests for gRPC Python interceptor machineryGravatar Mehrdad Afshari2017-12-12
| |
| * Add gRPC Python client-side interceptor machineryGravatar Mehrdad Afshari2017-12-12
| |
| * Add gRPC Python service-side interceptor machineryGravatar Mehrdad Afshari2017-12-12
| |
* | yapf grpcio_testsGravatar ncteisen2017-12-11
| |
| * Refactor: Rename call to response_iterator_callGravatar Mehrdad Afshari2017-12-10
| | | | | | | | Rename call to response_iterator_call file-wide for response-streaming tests.
| * Tests for ServicerContext.abortGravatar Mehrdad Afshari2017-12-10
| |
| * Merge pull request #13688 from nathanielmanistaatgoogle/12531Gravatar Nathaniel Manista2017-12-08
| |\ | | | | | | Elide cygrpc.Operations.
| | * Elide cygrpc.OperationsGravatar Nathaniel Manista2017-12-08
| | |
| * | Merge pull request #13672 from nathanielmanistaatgoogle/12531Gravatar Nathaniel Manista2017-12-08
| |\| | | | | | | Streamline metadata in gRPC Python.
| | * Streamline metadata in gRPC PythonGravatar Nathaniel Manista2017-12-08
| | |
* | | Upmerge changes from v1.8.x to masterGravatar Mehrdad Afshari2017-12-05
|\| |
| * | Return UNKNOWN on GenericRpcHandler failureGravatar Mehrdad Afshari2017-12-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A GenericRpcHandler registered on a gRPC Server is not supposed to raise an exception and if it does so it is considered a programming defect. However, gRPC is supposed to respond to the client with an UNKNOWN status code. Previously, this situation was left unhandled and the client ended up receiving a response with CANCELLED status code. This commit fixes the issue https://github.com/grpc/grpc/issues/13629.
| * | Merge pull request #13603 from nathanielmanistaatgoogle/credentialsGravatar Nathaniel Manista2017-12-04
| |\| | | | | | | Change client-side credentials' use of gRPC Core.
| | * Change client-side credentials' use of gRPC CoreGravatar Nathaniel Manista2017-12-03
| | | | | | | | | | | | | | | | | | Rather than allocating gRPC Core memory when instantiated and retaining it until deleted, gRPC Python's credentials objects now offer methods to create gRPC Core structures on demand.
| * | Merge pull request #13587 from ↵Gravatar Nathaniel Manista2017-12-01
| |\| | | | | | | | | | | | | nathanielmanistaatgoogle/access-token-auth-metadata-plugin Correct AccessTokenAuthMetadataPlugin name.
| | * Correct AccessTokenAuthMetadataPlugin nameGravatar Nathaniel Manista2017-12-01
| | | | | | | | | | | | It was never itself a "call credentials" of any sort.
| * | Merge branch 'master' of https://github.com/grpc/grpc into v1.8.xGravatar Nicolas "Pixel" Noble2017-11-30
| |\ \ | |/ / |/| / | |/
* | Bump 1.8.0-dev to 1.9.0-devGravatar Mehrdad Afshari2017-11-27
| |
| * Bump 1.8.0-dev to 1.8.0-pre1Gravatar Mehrdad Afshari2017-11-27
|/
* Update Python dependency to protobuf v3.5.0.post1Gravatar Mehrdad Afshari2017-11-27
|
* Merge pull request #13479 from ↵Gravatar Nathaniel Manista2017-11-21
|\ | | | | | | | | nathanielmanistaatgoogle/certificate-configuration Avoid abbreviation in Python API.
| * Avoid abbreviation in Python APIGravatar Nathaniel Manista2017-11-21
| | | | | | | | | | I should have requested this during code review of bcf083fa9099e5c919 but it slipped my mind.
* | Merge pull request #13406 from nathanielmanistaatgoogle/interop_required_argsGravatar Nathaniel Manista2017-11-20
|\ \ | |/ |/| Require port and server_port interop flags.
* | Add Python support for server SSL cert reloadingGravatar Giang Nguyen2017-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, a secure server is configured with SSL credentials during initialization, and those credentials will be used for the lifetime of the server. If the user wants the server to use new credentials, the user has to restart the server, resulting in server downtime. This change enables the user to optionally configure the server with a "certificiate config fetcher," such that on every new client connection, the server will call the config fetcher before performing the handshake, allowing the user application to optionally specify new certificate configuration for the server to use (the fetcher can return a "no change" and the server continues to use its current certificate configuration).
| * Require port and server_port interop flagsGravatar Nathaniel Manista2017-11-15
|/ | | | Also sort arguments to ArgumentParser.add_argument in idiomatic order.
* Update version to 1.8.0-dev, update g word to 'generous'Gravatar murgatroid992017-10-02
|
* "resopnse" typo correctionGravatar Nathaniel Manista2017-09-28
|
* Clean up even more uses of gRPC in _pb2.py filesGravatar Nathaniel Manista2017-09-21
|
* Use grpc_1_0 flag in beta_python_plugin_testGravatar Nathaniel Manista2017-09-18
| | | | | | | | | | Beta code elements are not generated at all in _pb2_grpc.py files. This duplicates a lot of the in-test code generation done in _split_definitions_test. In a future clean-up we may want to deduplicate the common behavior, put it in a module available to all other tests, and do all of our testing of generated code with in-test code generation.
* Merge pull request #12602 from nathanielmanistaatgoogle/grpc_1_0_flagGravatar Nathaniel Manista2017-09-17
|\ | | | | Overhaul protoc_plugins._split_definitions_test.
| * Overhaul protoc_plugins._split_definitions_testGravatar Nathaniel Manista2017-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | We were mistaken before when we were testing _pb2.py files being generated in one directory and _pb2_grpc.py files being generated in another directory. Sure, that was a thing our code generator could do, but because of the way paths and packages work in Python it wasn't a realistic use case for actual users. This test now tests _pb2.py files and _pb2_grpc.py files being generated either together or independently of one another, and if independently, in either order. Looking forward to an eventual py_grpc_library Bazel rule, that's what actually matters.
* | Merge pull request #12603 from nathanielmanistaatgoogle/python_sanity_testGravatar Nathaniel Manista2017-09-16
|\ \ | | | | | | Tweak Python sanity test.
| * | Tweak Python sanity testGravatar Nathaniel Manista2017-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move it out of the "unit" package, as it's not itself a unit test. - Suffix the test class with "Test" as we do with every other subclass of unittest.TestCase. - Add a larger-than-we'll-need-any-time-soon maxDiff so that failures are fully described. - Relax the assertion from assertListEqual to assertSequenceEqual since we don't actually care whether or not the sequences being compared are list instances. - Change the order of the assertions arguments to match the "<expected>, <actual>" convention used in our assert*Equal calls elsewhere throughout the test corpus. - Internal implementation simplifications.
* | | Merge pull request #12592 from nathanielmanistaatgoogle/grpc_1_0_flagGravatar Nathaniel Manista2017-09-15
|\| | | | | | | | Clean up a few more uses of gRPC code elements in _pb2.py files.
| * | Clean up a few more uses of gRPC in _pb2.py filesGravatar Nathaniel Manista2017-09-15
| | | | | | | | | | | | | | | | | | | | | Were this not done these would break when the default behavior of gRPC Python Protoc Plug-In is changed to be the put-gRPC-code-elements-only- in-_pb2_grpc.py-files behavior that currently happens only when the grpc_2_0 flag is passed.