Commit Graph

684 Commits

Author SHA1 Message Date
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
Myungjun Kim f17d163a9b Fix typos
unkown -> unknown
fix unnecessary spacing
2017-02-23 01:55:44 +09: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
yang-g 9bef0740a4 Add test for explicit option 2016-12-27 15:37:59 -08:00
yang-g b74cf429fd test pass 2016-12-27 15:37:59 -08:00
yang-g ad32764219 sync test pass 2016-12-27 15:37:59 -08:00
Craig Tiller ef6938477b Merge branch 'slice_with_exec_ctx' into metadata_filter 2016-12-27 08:59:00 -08:00
Mark D. Roth 13f3574642 clang-format 2016-12-14 12:39:03 -08:00
Mark D. Roth 473ff83fac Fix filter_end2end_test. 2016-12-14 08:21:12 -08:00
Craig Tiller f658bf0e1b Start resolving memory issues in C++ metadata 2016-12-08 14:11:47 -08:00
Craig Tiller fbcd9a7344 Update server_crash_test to account for longer reconnect timeouts 2016-12-05 08:47:02 -08:00
Craig Tiller 3b45b8d60b Revert "Test credentials provider update" 2016-11-29 12:31:14 -08:00
yang-g 8e9fc9bd0e Test credentials provider update 2016-11-22 23:12:49 -08:00
Mark D. Roth 863113a0d9 Merge remote-tracking branch 'upstream/master' into service_config_json 2016-11-16 14:18:28 -08:00
Mark D. Roth 4bbdda4444 Allow getting LB policy name and service config in C++ API. 2016-11-09 14:40:22 -08:00
Vijay Pai 56540ba9f9 clang-format 2016-11-04 10:02:31 -07:00
Vijay Pai 1b87ddee0a One more NULL->nullptr 2016-11-04 09:09:58 -07:00
Vijay Pai b0a6be2b8f Remove some unnecessary new/delete patterns 2016-11-04 07:51:25 -07:00
Vijay Pai 90102c2bfc Eliminate unnecessary uses of new[]/delete[] that can be replaced
with vector

Also start eliminating uses of plain-old delete that are not helpful
2016-11-04 07:51:24 -07:00
Vijay Pai a189b7b9f1 Make new file compliant with new standards 2016-11-02 17:49:42 -07:00
Vijay Pai 739a93e47f Merge branch 'master' into turn_it_to_11 2016-11-02 16:00:52 -07:00
Vijay Pai 320ed13d3e Deprecate grpc::thread and sync in favor of std::thread,mutex,etc 2016-11-01 17:16:55 -07:00
Vijay Pai 713c7b87e1 clang-format 2016-11-01 16:33:18 -07:00
Vijay Pai c0b2acb1a0 Use C++11 final and override 2016-11-01 16:31:56 -07:00
Mark D. Roth 3f265857f4 Fix memory leak. 2016-10-31 14:42:22 -07:00
Mark D. Roth 6df607591c Fix portability problems. 2016-10-31 14:39:45 -07:00
Mark D. Roth fd635add1c clang-format 2016-10-31 14:20:56 -07:00
Mark D. Roth 7e0c2f8301 Merge remote-tracking branch 'upstream/master' into lb_policy_name_channel_arg 2016-10-31 14:20:01 -07:00
Sree Kuchibhotla 1e088b4219 Merge branch 'master' into rpc_mgr 2016-10-28 17:34:55 -07:00
Sree Kuchibhotla 612ca22ff3 Merge branch 'master' into rpc_mgr 2016-10-27 15:14:08 -07:00
Craig Tiller 3d357d901c Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-26 20:52:03 -07:00
Mark D. Roth 452287607f Add test for setting LB policy via C++ API. 2016-10-26 14:54:56 -07:00
Mark D. Roth fb809b7850 Merge remote-tracking branch 'upstream/master' into resolver_channel_args 2016-10-26 09:12:25 -07:00
Mark D. Roth e3a21005bf Fix propagation of channel args for insecure channels. 2016-10-24 13:29:05 -07:00
murgatroid99 b516cadc2a Merge branch 'master' into uv_core_transport 2016-10-21 15:54:42 -07:00
Sree Kuchibhotla c5fb957e50 Merge branch 'master' into rpc_mgr 2016-10-21 14:38:21 -07:00
Craig Tiller 8f67b647fd Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-20 15:53:04 -07:00
murgatroid99 59f347e125 Merge branch 'master' into uv_core_transport 2016-10-19 13:53:21 -07:00
Sree Kuchibhotla 556aebb1e0 Merge branch 'master' into rpc_mgr 2016-10-18 14:59:24 -07:00
Vijay Pai 9fa9315d62 Merge remote-tracking branch 'upstream/master' into fc_1dstream 2016-10-18 12:15:08 -07:00
Craig Tiller 20afa3d7c9 BufferPool --> ResourceQuota 2016-10-17 14:52:14 -07:00
Sree Kuchibhotla c37a8a56df Fix test 2016-10-13 15:40:15 -07:00
Vijay Pai 96e03110db clang-format 2016-10-13 14:09:16 -07:00
Vijay Pai 8d08b1d9ee Test all split streamed variations 2016-10-13 12:19:30 -07:00
Vijay Pai 65a9ef16ed Fix channel/stub for dup service use 2016-10-13 12:00:32 -07:00
Sree Kuchibhotla e4996d6c43 Merge branch 'master' into rpc_mgr 2016-10-13 11:18:09 -07:00
Vijay Pai 61536a7371 Making split streaming testable 2016-10-13 11:04:57 -07:00
Craig Tiller c99945e44c Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-10 10:20:48 -07:00
Craig Tiller fdc2b10dce Merge github.com:grpc/grpc into direct-calls 2016-10-10 10:16:35 -07:00
murgatroid99 fde76d7996 Merge branch 'master' into uv_core_transport 2016-10-07 15:09:53 -07:00
Mark D. Roth 4bcdd73df6 Merge remote-tracking branch 'upstream/master' into fail_fast 2016-10-06 07:56:05 -07:00
David Garcia Quintas e5b4c26ef7 more usage of std::string 2016-10-04 13:44:18 -07:00
Craig Tiller db1a5cce47 Buffer pool C++ wrapper 2016-09-28 14:22:12 -07:00
Sree Kuchibhotla 892dbf4d95 Make settings configurable 2016-09-27 19:42:27 -07:00
Mark D. Roth 9477724003 Change C++ API to expose wait_for_ready instead of fail_fast. 2016-09-27 13:07:00 -07:00