Commit Graph

636 Commits

Author SHA1 Message Date
Mark D. Roth f91eb714c2 Change round_robin LB policy to use the addresses in the order given. 2017-05-19 15:19:14 -07:00
Mark D. Roth d7389b418f Implement grpclb drop support. 2017-05-17 12:22:17 -07:00
Nicolas "Pixel" Noble 0885f98863 Fixing mock test target. 2017-05-12 21:10:55 +02:00
Nicolas "Pixel" Noble 232e9b458b Merge branch 'master' of https://github.com/grpc/grpc into import 2017-05-12 20:15:06 +02:00
yang-g a044f6d3f5 Propagate deadline to GenericServerContext 2017-05-11 15:37:51 -07: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
Nicolas "Pixel" Noble 1e75dc8cad Add end2end_test_lib. 2017-05-09 06:57:22 +02:00
Mark D. Roth 64d922ae87 Make sure we set deadline for the LB call even without a pick.
As part of this, get the deadline from a channel arg instead of pick_args.
2017-05-03 12:52:04 -07:00
Mark D. Roth 09e458c6cd Implement client-side load reporting for grpclb. 2017-05-02 08:13:26 -07:00
David Garcia Quintas 0745356ab2 Apply slowdown factor to timeouts 2017-05-01 13:52:15 -07:00
David Garcia Quintas 04109e8f7d BUILD and #include fixes 2017-04-28 13:03:35 -07:00
David Garcia Quintas 04911ca202 New version of grpclb end2end test 2017-04-27 16:32:09 -07:00
MakMukhi c090c619c1 Merge pull request #10644 from MakMukhi/master
Added unit testing support.
2017-04-24 16:36:40 -07:00
Craig Tiller ae1e29eed9 Get dep in the right place 2017-04-19 09:07:23 -07:00
Craig Tiller 0a458b599e Fix Bazel build 2017-04-19 06:35:16 -07:00
Mahak Mukhi 443a75dd22 1. Added golden file test.
2. Added support for mock.
3. Sanity fix.
2017-04-14 15:33:55 -07:00
Mahak Mukhi 2814b5148e formatting 2017-04-13 14:45:26 -07:00
Mahak Mukhi e536eeb6d0 Added tests for uni-directional streaming RPCs. 2017-04-12 17:16:23 -07:00
Mahak Mukhi 31d92d42ff Initial commit: Auto-generate GMOCK code for client stub. 2017-04-12 17:16:23 -07:00
Nicolas "Pixel" Noble 7c26eed838 Buildifier and wrapping test/cpp/* rules with our build system. 2017-04-13 02:03:22 +02:00
Craig Tiller 75bfb97548 Finish hybrid server stuff, ensure it gets tested 2017-04-11 17:55:12 -07:00
yang-g f4c8addded support C++ error_details 2017-04-07 15:52:16 -07:00
Craig Tiller 7a8232d773 review feedback 2017-04-03 10:59:42 -07:00
Yuxuan Li bdc76ab37b bug fix 2017-03-08 10:59:31 -08: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 Gao dc720ca6bf Merge pull request #9846 from yang-g/max_message_size
Stop receiving and add an error to batch when there is an error from lower level.
2017-02-27 12:40:04 -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
Sree Kuchibhotla 43bca1be48 Add BUILD file for end2end tests too 2017-02-22 16:37:27 -08:00
Sree Kuchibhotla fac16f6d3d Merge branch 'master' into surface_test_bazel 2017-02-21 08:50:31 -08:00
Sree Kuchibhotla a3bc1efe4f BUILD files for end2end tests 2017-02-17 21:05:54 -08:00
yang-g 076bac017b Remove async 2017-02-07 13:50:36 -08:00
yang-g 13a537bcae merge with head 2017-02-07 13:13:20 -08:00
Yang Gao f4c45d7532 Merge pull request #9419 from danzh2010/shutdowntest
Change shutdown_test.cc to use credential provider API to test against  different credential types
2017-02-06 22:27:13 -08:00
Jan Tattermusch bd0b0546a6 windows compilation fixes 2017-02-02 00:01:09 +01:00
Dan Zhang 340bb83a59 Change shutdown_test.cc to use credential provider API to test against
different credential types.
2017-01-31 15:20:09 -05:00
yang-g edcde054c6 Merge remote-tracking branch 'upstream/master' into health 2017-01-30 09:58:46 -08:00
Craig Tiller 68bb6a8453 Merge github.com:grpc/grpc into rollfwd 2017-01-27 06:52:13 -08:00
Craig Tiller 4edd56751f Merge github.com:grpc/grpc into maxmsgsz 2017-01-26 13:50:14 -08:00
yang-g a7198021a6 merge with head 2017-01-26 13:23:52 -08:00
Craig Tiller 7c70b6c144 Revert "Revert "Metadata handling rewrite""
This reverts commit 5e01e2ac97.
2017-01-23 07:48:42 -08:00
Craig Tiller 5e01e2ac97 Revert "Metadata handling rewrite" 2017-01-20 18:11:52 -08:00
Craig Tiller ffc843ddcb Fix test 2017-01-20 15:54:45 -08:00
Craig Tiller 9d4fc31da4 Merge github.com:grpc/grpc into metadata_filter 2017-01-12 14:08:50 -08:00
Craig Tiller 95beab2284 Uncover the badness 2017-01-12 13:41:52 -08:00
yang-g cc5910228d manual revert of #8901 2017-01-11 11:10:43 -08:00
yang-g 35674af901 make test robust 2016-12-29 15:15:12 -08:00
yang-g a3c95529c7 async works 2016-12-29 12:10:52 -08:00
yang-g 8e708b12cb WIP 2016-12-29 11:44:36 -08:00
yang-g 50993b7a4c async first take 2016-12-29 10:00:27 -08:00