aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio_tests
Commit message (Collapse)AuthorAge
* Merge pull request #9420 from nathanielmanistaatgoogle/time_remainingGravatar Nathaniel Manista2017-01-20
|\ | | | | Fix grpc._server._Context.time_remaining.
| * Fix grpc._server._Context.time_remainingGravatar Nathaniel Manista2017-01-20
| | | | | | | | A weak test is included; proper test coverage will come later.
* | Expect INTERNAL in Python negative interop clientGravatar ncteisen2017-01-19
| | | | | | | | | | | | | | | | The test now expects to receive StatusCode.INTERNAL when it receives a RST_STREAM from the server in order to comply with https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md Also added wait for ready behavior on the client channel.
* | Pass an iterator rather than an iterableGravatar Nathaniel Manista2017-01-17
|/ | | | | This should have been included in dd52a31337616fe935f79debfe5d56c6d73a but was missed because it falsely passes almost all of the time.
* Run Python formattingGravatar Masood Malekghassemi2017-01-17
|
* 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.
* 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
* | 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.
| * 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.
| * 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 #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
| | |
| * | Upversion PythonGravatar 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
| | | | |
| | * | | 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.
| | | * 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
| | |/
| * | Revert "Add configurable exit grace periods and shutdown handlers"Gravatar Ken Payson2016-12-08
| | | | | | | | | | | | This reverts commit 3045a379aa76ce9ee930f427daa4ee799b0162aa.
| | * 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 #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).
* | | 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.
* | Add new flags to Python stress clientGravatar Noah Eisen2016-11-22
| | | | | | | | | | | | Add use_tls, use_test_ca, and server_host_override flags to Python stress client. These are needed to run the stress client against a local server that is using tls.
* | Add default arguments to python interop clientGravatar Noah Eisen2016-11-17
| |
* | Explicitly stop the server on tear-downGravatar Masood Malekghassemi2016-11-03
| |
* | Enable split code generationGravatar Masood Malekghassemi2016-10-28
| | | | | | | | | | | | | | | | | | | | | | | | To support magical internal build processes, the pb2 files need to be split into pure-proto and gRPC parts. This performs that split and further fixes bad module names in the test harness that interfered with the intended test implementation. An unfortunate side effect, due to limitations of protoc and holdover behavior we must support in major version 1.x, is that trash files are generated in split generation. This shouldn't be a problem in normal protoc plugin use.
* | Fix Python tests' module loading behaviorGravatar Masood Malekghassemi2016-10-28
| |
* | Merge pull request #8367 from soltanmm-google/blurbGravatar Masood Malekghassemi2016-10-28
|\ \ | | | | | | Partially implement gRPC Python server reflection
| | * Going 1.0.1.Gravatar Nicolas "Pixel" Noble2016-10-26
| | |
* | | Implement the advanced interop tests for PythonGravatar Noah Eisen2016-10-25
| | | | | | | | | | | | | | | | | | | | | Add the code for three new interop tests: unimplemented_method, unimplemented_service, and custom_metadata. Fix and refactor the code for status_code_and_message.
| * | Partially implement gRPC Python server reflectionGravatar Masood Malekghassemi2016-10-20
|/ / | | | | | | | | | | Some features relating to proto2 extension querying are missing due to missing upstream features required to support them (see https://github.com/google/protobuf/issues/2248).
* | Change channel tests to use public APIGravatar Ken Payson2016-10-18
| | | | | | | | This allows for testing other implementations of grpc.Server.
* | Allow pointer channel args pythonGravatar Ken Payson2016-10-13
| |
* | Add parameter for server optionsGravatar Ken Payson2016-09-19
| |
* | Merge pull request #7848 from nicolasnoble/upmerge-from-v1.0.xGravatar Nicolas Noble2016-09-06
|\ \ | | | | | | Manual upmerge from v1.0.x
* \ \ Merge pull request #7831 from thunderboltsid/remove-skipif-pypyGravatar Nicolas Noble2016-08-28
|\ \ \ | | | | | | | | remove skipIf from TypeSmokeTest (issue 7672)