Srini Polavarapu
1bf93a76f5
Regenerate projects
6 years ago
Lidi Zheng
8a0b08b574
Migrate tests from Python 3.4 to Python 3.7
6 years ago
Yash Tibrewal
fc28a86a0e
Allow setsockopt and getsockopt to softly fail for TCP_USER_TIMEOUT
6 years ago
Vishal Powar
970552f1ac
Disabling the current gRPC LB method of handling fallback in xds plugin.
...
xDS plugin will need seperate policy for fallback and handling the
transition to and from fallback mode.
6 years ago
Vijay Pai
1e850944e9
Release the CallbackWithSuccessTag from a server context completionop
6 years ago
Vijay Pai
526d2e6004
Refactoring of CallbackWithSuccessTag
6 years ago
Soheil Hassas Yeganeh
6c49b3dad7
Eliminate function pointers in hpack_enc().
...
Using a conditional branch to set a function pointer will prevent the
compiler to inline the function and worse it would jump based on a
register value killing the pipline.
Here is a short example to demonstrate the variants:
https://godbolt.org/z/radfZg
Remove `add_nothing` and add a lambda when necessary to make sure
everything is inlined.
6 years ago
Soheil Hassas Yeganeh
d926b04ced
Optimize `grpc_call_stack_init` for cache coherency.
...
Make sure call_element[0..count] is filled before actually calling
`init_call_elem` of the filters, because they would trash the cache.
This improves BM_StreamingPingPong<TCP, ...> by 3%.
6 years ago
Yash Tibrewal
4cc3717e15
move client_interceptor.cc from src/cpp/codegen to src/cpp/client
6 years ago
Lidi Zheng
b8a9989005
Add support for utf-8 error messages
...
* Both server and client should be fine with utf-8 error messages now
* Adding an interop test: special status message
6 years ago
Yash Tibrewal
f8561952e9
Don't use default capture
6 years ago
Vishal Powar
4ce341cd32
xds plugin does not need drop to be determined by serverlist
6 years ago
Vijay Pai
acd07f7f40
Make inproc transport properly obey status ordering rules
6 years ago
Soheil Hassas Yeganeh
48e4a81b05
Remeve memset(0) from arena allocated memory.
...
Callers are updated to properly initialize the memory.
This behavior can be overridden using GRPC_ARENA_INIT_STRATEGY
environment variable.
6 years ago
Richard Belleville
3c0c4fc1fd
Use custom assertions
6 years ago
Richard Belleville
056a1a8ea4
Isolate logging in all test cases
6 years ago
Richard Belleville
a8d6e14721
Appease the yapf gods
6 years ago
Richard Belleville
0139d8777d
Add explicit test that user can configure their own handler
6 years ago
Richard Belleville
9aed6c8f8e
Fix splat
6 years ago
Richard Belleville
a56a30f5a1
Format code
6 years ago
Richard Belleville
e4b4f3131b
Pull out function to patch stderr
6 years ago
Richard Belleville
2acb85006a
Add test for 'No handlers could be found' problem
6 years ago
Richard Belleville
17dc8d3083
Format code
6 years ago
Richard Belleville
7c3c8323cd
Add logging tests to tests.json
6 years ago
Richard Belleville
916681911d
Fix various mind-numbing typos
6 years ago
Richard Belleville
61011a3af4
Add basicConfig handler to grpcio_testing
6 years ago
Richard Belleville
619f7e767b
Add basicConfig handler to unit tests
6 years ago
Richard Belleville
e57c10d9f0
Add NullHandler to avoid warnings about no handler
6 years ago
Richard Belleville
3990ff1dcf
Revert "Configure module level loggers with basicConfig()"
...
This reverts commit a20e2073c1
.
6 years ago
Richard Belleville
1ef01a1c29
Add failing unit test
6 years ago
Yash Tibrewal
e08a2b387a
Prefer lambda expressions over std::bind
6 years ago
Vijay Pai
8a7f945fa0
Resolve a deadlock in callback CQ shutdown
6 years ago
ncteisen
c8ee12c0f5
Reset json pointer
6 years ago
Mark D. Roth
cbf94de90f
Record subchannel calls started as part of creating subchannel call.
6 years ago
ncteisen
069909ccf4
Use correct macro
6 years ago
Yash Tibrewal
24ca03dad7
Do not make TCP_USER_TIMEOUT failure an error
6 years ago
kkm
4912fb2d04
Address review comments
...
* Fix typos.
* Correct pointers to example files.
* Refer to v1.17 or 1.17.0 throughout.
* Change wording where requested, remove trailer.
* Rename INTEGRATION.md -> BUILD-INTEGRATION.md.
* Change a pointer in README.md to point to the new name.
7 years ago
Benjamin Peterson
187f7e4e4c
Replace pkg_resources with pkgutil.
...
pkg_resources (part of setuptools) is overkill for reading resource files. The standard library module pkgutil can do that just fine.
7 years ago
Yihua Zhang
cd768ec12a
use gRPC thread model
7 years ago
Yash Tibrewal
b732e9c403
Make client interceptors see notification even if Cancel was done before the RPC was issued. Also add tests
7 years ago
ncteisen
9d5bd8b0c6
Add TODO
7 years ago
ncteisen
f776ee33c2
clean up channelz URI parsing
7 years ago
Richard Belleville
18cc5f5dbe
Use custom assertions
7 years ago
Richard Belleville
cf624a98e6
Isolate logging in all test cases
7 years ago
Yash Tibrewal
fd88dcaf55
Add cancellation notification
7 years ago
ncteisen
96c77693d5
Uphold default for channel trace max memory
7 years ago
Vijay Pai
eea8a8b826
Remove redunant get on unique_ptr
7 years ago
Naresh
cd931752ca
Bazel rules for gRPC Python interop tests
...
Add interop tests for gRPC Python. py_proto_library rules are added to
src/proto/grpc/testing/BUILD since grpc_proto_library is not compatible
with py_* rules.
'requests' python module is added to requirements.bazel.txt as it is a
dependency for google-auth. Previously, this was installed through
tools/run_tests/helper_scripts/build_python.sh before running tests.
7 years ago
Naresh
e4382abc9c
Bazel rules for Python grpcio_reflection
7 years ago
ncteisen
44b262c361
fix build and sanity
7 years ago