Vijay Pai
fe2e9d6803
Properly count messages sent
2020-07-08 09:06:47 -07:00
Vijay Pai
0ab6db4fe8
Make sure that some ops don't start concurrently with Finish
2020-07-07 14:48:12 -07:00
Esun Kim
165ee5007a
Replaced grpc::string with std::string
2020-06-29 17:56:36 -07:00
Vijay Pai
b269fdbf8b
Don't mark server RPC canceled if finished with non-OK status
2020-06-11 10:15:05 -07:00
Vijay Pai
5085805063
Remove some excessive logs
2020-04-17 13:22:11 -07:00
Donna Dionne
8bab28db08
Rearrange test_service_impl.h/cc to fix build failures.
2020-04-16 12:20:57 -07:00
Donna Dionne
71aef940c3
Code review comments: added invalid config tests and restructured
...
testing code.
2020-04-15 13:09:03 -07:00
Donna Dionne
1ae804c8c0
Fixing code review comments:
...
- Fixing for comments in all except for test file
- Multi-purpose test_service_impl.h as oppose
to creating new files.
2020-04-11 21:39:40 -07:00
Donna Dionne
f3f11cc21c
Added new RPC methods to test routing different RPCs to different
...
backends.
2020-04-06 23:21:02 -07:00
Vijay Pai
3620abf059
Properly follow precise conditions for callback inlining
2020-02-20 01:34:30 +00:00
Vijay Pai
c34999ae2c
Remove unneeded curly braces
2020-01-30 00:20:17 -08:00
Vijay Pai
d173d3fde8
Fix cancellation to make it easier to follow
2020-01-29 00:39:49 -08:00
Vijay Pai
3ade3e84a9
Make use of alarm in test service more robust
2020-01-22 10:31:25 -08:00
Vijay Pai
24483d2afd
Address reviewer comments
2019-12-13 15:17:34 -08:00
Vijay Pai
9be35f74c0
Make CancelDelayedRpc test not use sleeps for client-server sync
2019-12-12 11:19:00 -08:00
Vijay Pai
be6979202b
Revamp server-side C++ callback API, message allocator, and mocking
2019-11-20 16:56:18 -08:00
Vijay Pai
e35c869aaf
Remove unused-parameter warnings, round 2 (19 of 19)
2019-10-21 09:16:35 -07:00
Vijay Pai
20c08dbc7a
Add client-side unary reactor model
2019-04-19 16:10:08 -07:00
Vijay Pai
41c6cba9f5
Make sure that OnCancel happens after OnStarted
2019-04-10 11:32:34 -07:00
Mark D. Roth
ce2af3b958
Remove noisy log message.
2019-03-29 15:02:57 -07:00
Prashant Jaikumar
4e9e662729
Fixed bug in CFStream endpoint.
...
We were failing to return an error when the transport tried to write to an endpoint that was in an errored state.
2019-03-26 18:36:44 -07:00
Vijay Pai
f12f862d28
Strengthen test
2019-03-18 15:52:58 -07:00
Vijay Pai
0cb0cdb7e3
Address reviewer comments on test
2019-03-18 15:46:27 -07:00
Vijay Pai
04a6b8467c
Support callback on cancellation of server-side unary RPCs
2019-03-18 12:00:57 -07:00
Vijay Pai
397bdd6b7b
Fix a bug that was exposed but unrelated...
2019-03-04 13:55:12 -08:00
Vijay Pai
8feb16171a
Add an expectation and fix a ServerContext bug
2019-02-25 00:48:11 -08:00
Vijay Pai
a47c979ba0
Enable TCP callback tests if the event engine allows
2019-02-11 12:05:37 -08:00
hcaseyal
cf14bd13fb
Merge branch 'master' into callback_test_coverage_1
2018-12-03 10:16:35 -08:00
Hope Casey-Allen
c12aabc6a7
Clang format
2018-12-03 10:14:46 -08:00
Vijay Pai
2a0c0d7ad6
Streaming API for callback servers
2018-11-30 16:14:21 -08:00
Hope Casey-Allen
4a6e165328
Add service definition to sync server
2018-11-30 10:26:31 -08:00
Vijay Pai
dac2066a1c
Make StartCall() a releasing operation so that you can pile up ops
2018-11-30 04:13:40 -08:00
Hope Casey-Allen
470ea17843
Debugging unimplemented error in CheckClientInitialMetadata
2018-11-29 15:57:53 -08:00
Vijay Pai
84e763f10a
Experimental C++ server callback unary API
2018-10-29 13:41:25 -07:00
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
2018-03-08 22:04:59 -08:00
yang-g
98cd36e2c3
Add a test
2018-01-23 11:42:10 -08:00
Vijay Pai
07165cbaf2
Only put server to sleep when explicitly requested
2017-10-10 21:00:31 -07:00
Vijay Pai
9f10a587a9
Make short deadlines actually expire
2017-10-10 14:59:32 -07:00
ncteisen
9bee3086c3
Make stream responses togglable via context
2017-07-05 10:33:21 -07:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
Nicolas "Pixel" Noble
eb36b8ac77
Merge branch 'master' of https://github.com/grpc/grpc into import
2017-05-11 23:24:37 +02:00
Nicolas "Pixel" Noble
3726e3d37b
Moving gtest include down.
...
In some cases, depending on the direction of the wind, and the phase of the moon, gtest can interfere with protobuf badly with macros cross-pollution between the two projects. Moving the gtest inclusion at the end makes the problem go away.
2017-05-10 18:33:12 +02:00
yang-g
f4c8addded
support C++ error_details
2017-04-07 15:52:16 -07:00
Yuxuan Li
34894e4b1c
Implemented stream coalescing design
...
(RFC:https://github.com/grpc/proposal/pull/3 ). Add necessary
microbenchmarks to show reduced writes/iter for short streams. Add
necessary end2end test to test out newly added apis. Filter those tests
using *WithCoalescingApi*.
2017-03-08 10:59:31 -08:00
yang-g
23f777df08
When there is an error from filters (such as max recv message size too
...
large), add an error to the batch to avoid emitting new rpc on the
server side in C++.
2017-02-23 15:34:21 -08:00
Vijay Pai
b0a6be2b8f
Remove some unnecessary new/delete patterns
2016-11-04 07:51:25 -07:00
David Garcia Quintas
c79b0650d2
removed codegen/log.h
2016-07-27 21:11:58 -07:00
Vijay Pai
a63271c77f
Deal with to_string, proper usage of nullptr, and lack of map::emplace
2016-06-15 12:56:38 -07:00
yang-g
4c07008610
Add a test for server returning error with debug info in trailer.
2016-05-05 23:35:20 -07:00
Craig Tiller
f40df23eeb
Auto-changes
2016-03-25 13:38:14 -07:00