Commit Graph

2594 Commits

Author SHA1 Message Date
Esun Kim cf444b9cab Regenerate projects 2019-09-10 14:08:50 -07:00
Esun Kim c965ca1494 Pull out configuration from ssl_utils 2019-09-09 11:18:17 -07:00
Richard Belleville 3d4f905775
Merge pull request #20141 from gnossen/python_strip_prefixes
Add strip_prefix to python protoc plugin and py_grpc_library
2019-09-06 11:55:58 -05:00
Richard Belleville d649880044 Add strip_prefix to python protoc plugin and py_grpc_library 2019-08-30 16:47:22 -07:00
Richard Belleville 1444cd1dd3 Revert "Revert "Merge pull request #20097 from gnossen/dual_version_python_tests""
This reverts commit 24c562dbaa.
2019-08-29 10:51:36 -07:00
Richard Belleville 24c562dbaa Revert "Merge pull request #20097 from gnossen/dual_version_python_tests"
This reverts commit c9c847f334, reversing
changes made to 07ba4de392.
2019-08-29 10:47:44 -07:00
Mark D. Roth fbd7ab53c7
Merge pull request #19036 from markdroth/lb_policy_per_rpc_backend_metric_api
Add API for accessing per-call backend metric data in LB policies.
2019-08-29 07:40:45 -07:00
Mark D. Roth 21c5424477 Add API for accessing per-call backend metric data in LB policies. 2019-08-28 12:48:06 -07:00
Richard Belleville 1b69538d58 Switch all tests to py2and3_test 2019-08-27 17:51:45 -07:00
Richard Belleville 426450cd82 Implement dual testing 2019-08-27 17:22:45 -07:00
Richard Belleville 4e317f0b34
Merge pull request #20027 from gnossen/py_proto_library_deps
Switch py_proto_library from using src to deps to conform with google3
2019-08-27 19:03:49 -05:00
Lidi Zheng 392669ad37
Merge pull request #20079 from lidizheng/stop
Stop the failing Python LocalCredentials test on Windows
2019-08-26 16:56:18 -07:00
Lidi Zheng a2990a053c Revert changes in src/python/grpcio_tests/commands.py 2019-08-26 15:57:02 -07:00
Lidi Zheng 630e6ab221 Use the correct machanism to ignore test in Windows 2019-08-26 15:55:42 -07:00
Lidi Zheng 8f403431a1 Try to disable it again 2019-08-26 13:57:20 -07:00
Lidi Zheng 750a8ab6ca Fix import 2019-08-26 12:05:21 -07:00
Lidi Zheng d9c0d498f2 Stop the failing tests 2019-08-26 11:33:44 -07:00
Neeraj Kashyap 5c173084f8 condition acquire and release with context manager
Was previously unfamiliar with the contex manager wrapper around
threading primitives.
2019-08-26 11:07:58 -07:00
Neeraj Kashyap 1ab9225dce Release the lock on the RPC object condition 2019-08-26 10:57:35 -07:00
Neeraj Kashyap b804ce974a Implemented _abort method on ServicerContext
This acquires a lock from the _condition member of the context's _rpc
and then aborts the _rpc directly
2019-08-26 08:43:46 -07:00
Lidi Zheng e25e7c921d
Merge pull request #19971 from lidizheng/local
Expose local credentials on Python layer
2019-08-23 10:05:42 -07:00
Richard Belleville 8ce740cfe0 Switch py_proto_library from using src to deps to conform with google3 2019-08-21 14:24:06 -07:00
Lidi Zheng f8624d356f
Merge pull request #20013 from lidizheng/vtable-heap
Make default vtable for pointer argumnet a constant
2019-08-20 16:28:01 -07:00
Lidi Zheng 25f21d4824 Make default vtable for pointer argumnet a constant 2019-08-20 15:42:27 -07:00
Lidi Zheng 2c9cff30a1 Fix typo in the ignore list... 2019-08-20 14:52:20 -07:00
Richard Belleville 662919cf90 Simplify with itertools 2019-08-20 14:49:57 -07:00
Richard Belleville d273fdf41d Remove line of dead code 2019-08-20 14:26:22 -07:00
Richard Belleville ee99f9aa4c Remove TODO 2019-08-20 14:25:14 -07:00
Richard Belleville 09a270d6ad Gracefully handle errors from callbacks.
In https://github.com/grpc/grpc/issues/19910, it was pointed out that
raising an exception from a Future callback would cause the channel spin
thread to terminate. If there are outstanding events on the channel,
this will cause calls to Channel.close() to block indefinitely.

This commit ensures that the channel spin thread does not die. Instead,
exceptions will be logged at ERROR level.
2019-08-20 14:17:38 -07:00
Lidi Zheng 853a6318b4 Correct the disable pattern 2019-08-20 08:43:32 -07:00
Richard Belleville e0d04c9a9e Yapf. 2019-08-19 18:09:19 -07:00
Lidi Zheng 5d7766153f Disable local tcp test for gevent 2019-08-19 17:37:55 -07:00
Richard Belleville f03ae6d493 Fix streaming test case 2019-08-19 16:58:56 -07:00
Richard Belleville 3d56c83a5f Correct out-of-date docstrings 2019-08-19 14:24:45 -07:00
Richard Belleville 967f55efd6 Add explanatory comment. 2019-08-19 14:20:01 -07:00
Richard Belleville 235b27257c Re-add unittest.main. 2019-08-19 14:05:54 -07:00
Richard Belleville 84855a18a9 Yapf 2019-08-19 13:44:32 -07:00
Richard Belleville ca2fcd647a Add docstring 2019-08-19 13:36:53 -07:00
Richard Belleville 4f04a80a69 Add note about something seemingly suspect. 2019-08-19 13:27:56 -07:00
Richard Belleville b4eaccf754 Make tests deterministic 2019-08-19 13:22:58 -07:00
Richard Belleville 2a9998bc13 Properly handle exceptions in signal handlers for in-flight outgoing RPCs 2019-08-19 13:19:04 -07:00
Lidi Zheng c45fb12ffb Add experimental API note. 2019-08-16 17:33:19 -07:00
Lidi Zheng 227a7cb47b Adopt reviewer's suggestion 2019-08-16 15:43:06 -07:00
Lidi Zheng 5a4d46d19b Add wait_for_ready attempt to fix gevent issue 2019-08-16 15:16:29 -07:00
Juanli Shen a802b14be6 Add xds resolver 2019-08-16 15:09:32 -07:00
Lidi Zheng 64dd532732 Make _api_test.py happy 2019-08-16 14:55:48 -07:00
Lidi Zheng 40fe76ad30 Fix import 2019-08-16 14:17:05 -07:00
Lidi Zheng 0d203d39b8 Adopt reviewers' advice 2019-08-16 11:17:35 -07:00
Lidi Zheng f681fe89af Make yapf happy 2019-08-15 20:16:01 -07:00
Lidi Zheng 5db1ae34b4 Expose local credentials on Python layer 2019-08-15 20:13:39 -07:00