Commit Graph

1302 Commits

Author SHA1 Message Date
Yuchen Zeng 89f86c08e2 Lower backup poll interval in async_end2end_test 2017-11-03 12:13:21 -07:00
Craig Tiller baa14a975e Update clang-format to 5.0 2017-11-03 09:09:36 -07:00
Yash Tibrewal aae4ca01a3 Merge master 2017-11-02 11:19:16 -07:00
Vijay Pai b611e249f3
Merge pull request #13216 from vjpai/tst_fixes
Remove unused code from thread_stress_test
2017-11-01 12:45:26 -07:00
Abhishek Kumar 8c2d222875
Merge pull request #13210 from y-zeng/end2end_fix
Set GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS for async_end2end_test
2017-11-01 12:07:40 -07:00
Yash Tibrewal 8bd88c459a Merge master 2017-11-01 11:49:00 -07:00
Yuchen Zeng 0d573083b9 Add comments for setting the env variable 2017-11-01 11:34:15 -07:00
Vijay Pai 4afcf5b566 Remove unused code from thread_stress_test 2017-11-01 10:44:01 -07:00
Yuchen Zeng 452b987a0d Set GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS for async_end2end_test 2017-10-31 19:54:38 -07:00
David Garcia Quintas 77827e1fb2 BG-poll very frequently to pick up subchannels's updates in LB tests 2017-10-31 19:26:08 -07:00
Yash Tibrewal 268685bcbd Merge branch 'master' into testc++ize 2017-10-30 16:28:56 -07:00
Yuchen Zeng 9e6837d397
Merge pull request #12732 from y-zeng/connectivity_watcher
Client channel backup poller
2017-10-30 14:47:24 -07:00
Yuchen Zeng cbb9296b72 Change the default interval to 5 seconds 2017-10-30 12:06:52 -07:00
Yuchen Zeng 7fa814fbeb Fix timeouts 2017-10-30 12:06:52 -07:00
Yuchen Zeng 0bad30a244 Use backup pollser instead of connectivity watcher 2017-10-30 12:06:52 -07:00
Mark D. Roth 6e5ce7288d Assume that subchannels start in state IDLE. 2017-10-27 09:37:41 -07:00
Yash Tibrewal 39aed1ae8b Remove unnecessary extern Cs 2017-10-25 17:04:35 -07:00
kpayson64 1bf7207852 Merge pull request #13084 from kpayson64/cq_lambda
CompletionQueue DoThenAsyncNext
2017-10-25 10:28:02 -07:00
Ken Payson 42bd87e376 Adds gRPC Experimental CQ DoThenAsyncNext lambda API 2017-10-25 09:13:30 -07:00
Juanli Shen cbdb5174ca Remove duplicate message member in test 2017-10-23 14:44:52 -07:00
Yash Tibrewal 0ee7574732 Removing instances of exec_ctx being passed around in functions in
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
2017-10-18 17:12:19 -07:00
Alexander Polcyn 7a57b0c4a1 explicitly recycle every port after every test run 2017-10-13 17:01:32 -07:00
Vijay Pai 4f0cd0e82c Add flow control to inproc transport so send needs a matching recv; fix
some tests that assumed some sends could always go out
2017-10-11 21:59:33 -07:00
Vijay Pai ac8921be5e Merge branch 'proxy_inproc' into proxy_e2e 2017-10-10 21:01:56 -07:00
Vijay Pai 07165cbaf2 Only put server to sleep when explicitly requested 2017-10-10 21:00:31 -07:00
Vijay Pai a6294056c8 Run ProxyEnd2End tests (without proxy) for inproc transport 2017-10-10 20:47:54 -07:00
Vijay Pai 9f10a587a9 Make short deadlines actually expire 2017-10-10 14:59:32 -07:00
Vijay Pai 156e8bf617 Make sure to accept expected tags exactly once 2017-10-09 12:29:29 -07:00
Muxi Yan 03fc857a6f Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface 2017-10-06 18:47:09 -07:00
Craig Tiller abecd39477 Merge github.com:grpc/grpc into flowctl+millis 2017-10-06 08:46:39 -07:00
Vijay Pai 4bc0b2b661 Merge pull request #12852 from vjpai/rent
Reduce # of message sizes used in each async_end2end_test scenario
2017-10-05 18:08:03 -07:00
Vijay Pai b83077bace Merge pull request #12855 from vjpai/new_const
Add some const
2017-10-05 18:07:03 -07:00
Vijay Pai f063f7951f Add some const that is now allowed 2017-10-05 15:41:40 -07:00
Vijay Pai 541974a709 Eliminate magic #s, follow API 2017-10-05 15:16:22 -07:00
Vijay Pai c4afc644f7 Reduce # of message sizes used in each scenario 2017-10-05 14:40:34 -07:00
Craig Tiller ced7653a1c Merge branch 'flowctlN' into flowctl+millis 2017-10-02 11:54:10 -07:00
Craig Tiller 1e868f0f95 Merge github.com:grpc/grpc into flowctl+millis 2017-09-29 11:18:26 -07:00
yang-g 3c00328b62 Add a simple test 2017-09-28 22:00:35 -07:00
Juanli Shen fe40815682 Readd grpclb fallback 2017-09-27 12:27:20 -07:00
Muxi Yan 8fa4d15513 Fix C++ builds 2017-09-26 09:53:55 -07:00
Vijay Pai 2046d0b3c5 Add unary call mode to GenericStub to allow generic RPC with 1 CQ trip 2017-09-21 22:23:44 -07:00
Craig Tiller 6bfb8589ad Merge github.com:grpc/grpc into flowctl+millis 2017-09-21 15:12:43 -07:00
Craig Tiller ff58b27696 Make generic_test tolerant of encoding 2017-09-21 10:40:42 -07:00
Craig Tiller c1f288dedb Bug fixes, remove async e2e dependence on flow control size 2017-09-20 21:59:21 -07:00
David Garcia Quintas 588e36a3e3 Get rid of magic numbers 2017-09-18 20:01:27 -07:00
David Garcia Quintas 7d764673ef Backends must be up before some grpclb tests start. 2017-09-18 19:10:54 -07:00
Ken Payson 01e83b55e4 Revert "Add fallback (use backends from resolver if can't reach balancer) to grpclb."
This reverts commit aba0a0a544.
2017-09-13 19:45:07 -07:00
Juanli Shen 3bf7b714a5 Merge pull request #12187 from AspirinSJL/lb_fallback
Add LB fallback to use when we can't contact any balancer.
2017-09-13 10:46:44 -07:00
Juanli Shen aba0a0a544 Add fallback (use backends from resolver if can't reach balancer) to grpclb. 2017-09-11 09:22:48 -07:00
Craig Tiller 55863ff527 Merge github.com:grpc/grpc into write_completion 2017-09-08 14:39:15 -07:00
David Garcia Quintas c3c7e5548f {grpclb,client_lb}_end2end: Fix epoll1 flakes 2017-09-07 14:24:58 -07:00
Craig Tiller a8fc020e0f Merge github.com:grpc/grpc into write_completion 2017-09-07 13:39:26 -07:00
Yuchen Zeng b6ef6e9ff5 Merge pull request #12080 from y-zeng/connectivity
Reconnect channels automatically in C++ clients
2017-09-07 12:59:41 -07:00
Craig Tiller ff952d292f Merge github.com:grpc/grpc into write_completion 2017-09-07 12:52:44 -07:00
David Garcia Quintas a28cca8447 Condition variables are not latches, again 2017-09-06 12:57:25 -07:00
Yuchen Zeng b5dd3abad9 Increase the grace period in ReconnectChannel tests 2017-09-06 11:33:22 -07:00
Craig Tiller a82b6dbac8 Merge github.com:grpc/grpc into write_completion 2017-09-05 12:47:07 -07:00
Nicolas "Pixel" Noble fc49d6edab Splitting gmock out of gtest. 2017-09-01 23:53:34 +02:00
Craig Tiller 9bebf8b22a C++ API for write-through 2017-09-01 10:20:13 -07:00
Craig Tiller 8fd40d5ed9 Merge github.com:grpc/grpc into wc 2017-08-31 10:54:11 -07:00
Nicolas "Pixel" Noble 90df76b463 Merge branch 'master' of https://github.com/grpc/grpc into visibility 2017-08-30 23:13:25 +02:00
Nicolas "Pixel" Noble 2bc5e3ac40 Moving visibility and package creation to the build system. 2017-08-30 19:18:37 +02:00
Yuchen Zeng eeea43fa24 Increase the grace period in ReconnectChannel tests 2017-08-28 22:57:28 -07:00
David Garcia Quintas 52ba957f83 Removed in_connectivity_shutdown from RR 2017-08-28 06:01:52 -07:00
Yuchen Zeng 4a11ecc076 Add ChannelConnectivityWatcher::Ref()/Unref() 2017-08-25 15:17:45 -07:00
Yuchen Zeng b4481a9a13 Share one monitoring thread between channels 2017-08-24 03:13:42 -07:00
Yuchen Zeng bfb4e06e3c Check connectivity intermittently 2017-08-23 23:47:15 -07:00
Yuchen Zeng a2e506e8d9 Avoid using timers 2017-08-22 20:46:52 -07:00
Yuchen Zeng ee3e3310bb Add reconnect channel tests 2017-08-22 18:56:25 -07:00
David Garcia Quintas 3732f869e1 PR comments 2017-08-22 11:17:13 -07:00
David Garcia Quintas a2c1df4dcd RR: Initialize subchannel connectivity state 2017-08-21 15:20:58 -07:00
David Garcia Quintas ecabe09b89 Condition variables are not latches 2017-08-02 18:39:31 -07:00
David G. Quintas 433f7bce2d Merge pull request #11948 from dgquintas/grpclb_fix_rr_shutdown_connectivity
Fix bug in handling of RR connectivity transition to SHUTDOWN
2017-07-28 11:59:17 -07:00
David Garcia Quintas fc950fbeb5 Fix bug in handling of RR connectivity transition to SHUTDOWN 2017-07-27 19:56:30 -07:00
David Garcia Quintas 6a7935e14e Watch the LB channel using the right initial conn. state 2017-07-27 19:24:52 -07:00
Mark D. Roth e7751807e2 Use new protocol for reporting dropped calls to grpclb balancer. 2017-07-27 12:31:45 -07:00
David Garcia Quintas c22c65b58d grpclb: deal with all-drops serverlists 2017-07-25 14:22:20 -07:00
Mark D. Roth e0778b2c18 Add cancellation to asynchronous security APIs. 2017-07-21 15:42:00 -07:00
Craig Tiller 764cdbaaf0 Merge github.com:grpc/grpc into write_completion 2017-07-17 16:32:50 -07:00
Vijay Pai fd82a6cb4f Merge pull request #11145 from vjpai/inproc3
In-process transport
2017-07-15 20:05:26 -07:00
Vijay Pai 8dc4f101cb Disbable a specific check on async_end2end_test and revisit later if that expectation was really required by the API 2017-07-14 16:23:54 -07:00
Vijay Pai 3d7d5f4ed2 Create inproc transport, add relevant tests, exclude irrelevant tests 2017-07-14 16:23:54 -07:00
Craig Tiller 31af436d96 Fixes for async_end2end_test: Shutdown() can block 2017-07-14 15:48:17 -07:00
David G. Quintas 0c9ce72218 Merge pull request #11761 from dgquintas/lb_update_connector_fix
RR: fix subchannel list handing
2017-07-14 12:21:55 -07:00
David G. Quintas 24a4b31c07 Merge pull request #11726 from dgquintas/fix_grpclb_test_deadlocks
Fix deadlocks in grpclb_end2end_test
2017-07-14 12:17:54 -07:00
David Garcia Quintas 51d0ff0f3d Fix deadlocks in grpclb_end2end_test 2017-07-13 18:43:14 -07:00
David Garcia Quintas 9a4ed686b1 Improved testing 2017-07-13 16:12:30 -07:00
Nicolas Noble 9877189e45 Merge pull request #11310 from nicolasnoble/import
Import mutations.
2017-07-13 13:39:58 -07:00
Sree Kuchibhotla eede875bdb Disable health check service in async end2end tests as it is causing flakes in mac 2017-07-11 13:55:58 -07:00
David G. Quintas 05f6d7e5ae Merge pull request #11696 from dgquintas/rr_concurrent_updates_fix
Fix RR concurrent updates
2017-07-07 14:30:30 -07:00
Michael Lumish 4e014a2410 Merge pull request #11639 from murgatroid99/master_1.4.1_upmerge
Upmerge v1.4.x to master
2017-07-07 13:18:06 -07:00
David Garcia Quintas 4b2def361a Fix RR concurrent updates 2017-07-06 15:40:35 -07:00
Noah Eisen e09581de9a Merge pull request #11557 from ncteisen/writelast-bugfix
WriteLast Bugfix
2017-07-06 14:53:02 -07:00
murgatroid99 882ba60fcb Merge remote-tracking branch 'upstream/v1.4.x' into master_1.4.1_upmerge 2017-07-06 10:15:11 -07:00
David Garcia Quintas 3f223e342f Move gtest include after proto include 2017-07-05 21:47:09 -07:00
ncteisen 36bb8a0006 s/hanging/pending/g 2017-07-05 11:21:25 -07:00
ncteisen 43f2b55a07 Add repro and fix to bidi case 2017-07-05 10:33:21 -07:00
ncteisen be7b82ba5e Add repro for coalescing bug 2017-07-05 10:33:21 -07:00
ncteisen 9bee3086c3 Make stream responses togglable via context 2017-07-05 10:33:21 -07:00
Mark D. Roth 96e51c8e56 Merge pull request #11648 from markdroth/c++_filter_fixes
Improvements to C++ filter API
2017-06-30 11:41:45 -07:00
Mark D. Roth 2faddbd639 Fix filter_end2end_test. 2017-06-30 07:10:10 -07:00
Nicolas "Pixel" Noble 5d80dc4985 Merge branch 'master' of https://github.com/grpc/grpc into import 2017-06-26 22:01:11 +02:00
David Garcia Quintas 05e15745d3 added test for RR connectivity state upon subchannels shutdown 2017-06-26 11:06:17 -07:00
David Garcia Quintas 64ea30fe5b Fix RR policy connectivity state upon subchannels shutdown 2017-06-23 17:45:00 -07:00
Mehrdad Afshari c02e39d14c Merge pull request #9823 from mjkim/fix_unkown
Fix typos
2017-06-12 10:46:40 -07:00
Jan Tattermusch 7e91ebb41d license fixes 2017-06-08 11:22:41 +02:00
Jan Tattermusch 4d5c3102a1 fix remaining license notices 2017-06-08 11:22:41 +02:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
David Garcia Quintas 87d5a3130d Implement LB policy updates 2017-06-06 19:45:58 -07:00
Nicolas "Pixel" Noble 7bc55fdaa3 Merge remote-tracking branch 'ctiller/build-wtf' into import 2017-05-26 00:32:47 +02:00
Nicolas "Pixel" Noble 5a1d197f1c Merge branch 'master' of https://github.com/grpc/grpc into import 2017-05-26 00:31:18 +02:00
Nicolas "Pixel" Noble 670d8bf675 Moving gtest to the end. 2017-05-25 21:25:02 +02:00
Nicolas "Pixel" Noble 6fa7236d24 Moving testing headers at the end. 2017-05-25 19:38:44 +02:00
Craig Tiller 840931eec9 More import fixes 2017-05-19 15:37:45 -07:00
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
Nicolas "Pixel" Noble af6c83f9e1 Adding dummy layering check option. 2017-05-19 01:53:56 +02: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
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
murgatroid99 08b0fab426 Merge branch 'master' into uv_core_transport 2016-09-23 14:35:49 -07:00
Craig Tiller 1edc77c7c6 Merge github.com:grpc/grpc into direct-calls 2016-09-20 11:02:51 -07:00
murgatroid99 bcc60f75d4 Merge branch 'master' into uv_core_transport 2016-09-16 13:44:28 -07:00
yang-g d5fba280bb make inline metadata value clearer 2016-09-16 10:29:16 -07:00
yang-g 4b4571ab88 Add a test for nonbin header containing binary value 2016-09-15 23:01:09 -07:00
yang-g c580af37e0 Add a check for metadata from auth plugin 2016-09-15 15:33:32 -07:00
Craig Tiller 762e72ef7b Merge github.com:grpc/grpc into direct-calls 2016-09-14 11:16:51 -07:00
Craig Tiller a51f54192a Merge pull request #7559 from dgquintas/codegen_cleanse
Removed references to public APIs from codegen/
2016-09-13 19:40:43 -07:00
Craig Tiller 44b12f9e23 clang-format 2016-09-08 10:06:14 -07:00
Craig Tiller aef13f78c7 Merge branch 'grand-unified-closures' into direct-calls 2016-09-08 10:05:42 -07:00
Nicolas "Pixel" Noble 5928bff0c7 Merge branch 'v1.0.x' of https://github.com/grpc/grpc into manual-upmerge 2016-09-08 01:58:49 +02:00
Craig Tiller bd37a21c26 Cleanup, debug support 2016-09-07 11:28:56 -07:00
David Garcia Quintas d10f1775eb Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-09-03 12:42:02 +02:00
murgatroid99 7c5befd86b Change UnimplementedService to UnimplementedEchoService in echo.proto 2016-09-01 17:09:47 -07:00
David Garcia Quintas f3581bf90a Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-08-30 04:45:50 -07:00
Vijay Pai d4d5f4cd53 clang-format 2016-08-29 16:59:21 -07:00
Vijay Pai a9c0d7f88b Change names to StreamedUnary, ServerUnaryStreamer, etc. Use a templated method handler since most code shared between the new StreamedUnary and the existing BidiStreaming. Eliminate the separate enum case for streamed unary. Return a status failure if a StreamedUnary method handler doesn't actually do a write (since that is
violating the appearance of unary-ness)
2016-08-29 16:42:04 -07:00
Vijay Pai ac4113bef1 Merge branch 'master' into fc_unary 2016-08-25 14:49:18 -07:00
murgatroid99 6257159a3a Merge branch 'port_platform_split' into uv_core_transport 2016-08-22 14:57:22 -07:00
murgatroid99 623dd4f556 Renamed GPR_ constants to GRPC_ in iomgr/port.h 2016-08-08 17:31:27 -07:00
murgatroid99 5407089b37 Separate out iomgr-specific constants into a separate header 2016-08-08 17:01:18 -07:00
Vijay Pai 5d94118d0d clang-format 2016-08-04 11:48:47 -07:00
Vijay Pai ff91dea149 Be able to specify FCUnaryService just like AsyncService so that all
relevant methods get treated this way.
2016-08-04 11:07:50 -07:00
Vijay Pai 666681612e Merge branch 'master' into fc_unary 2016-08-04 09:44:51 -07:00
David Garcia Quintas 1f32ae4e84 Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-08-02 10:24:44 -07:00
Mark D. Roth 3ac6fc1b97 Merge branch 'filter_call_init_failure' into filter_api 2016-08-02 10:07:48 -07:00
Nicolas "Pixel" Noble 8302b123de Merge branch 'v1.0.x' into manual-upmerge
Conflicts:
	src/ruby/pb/test/client.rb
	src/ruby/pb/test/server.rb
	tools/dockerfile/test/php7_jessie_x64/Dockerfile
2016-07-29 22:48:16 +02:00
David Garcia Quintas c79b0650d2 removed codegen/log.h 2016-07-27 21:11:58 -07:00
Vijay Pai 2d04dd827c Change API for next message size to allow a bool return value for failure
cases.
2016-07-27 11:35:56 -07:00
Vijay Pai efef0d29c5 Merge pull request #7380 from nicolasnoble/no-c++11-threads
Avoid using certain C++11-isms with grpc::thread, as it's not necessarily std::thread.
2016-07-27 09:28:15 -07:00
kpayson64 cc961b6c5a Merge pull request #7020 from rjshade/assert_not_expect
ASSERT vector size before directly accessing first element
2016-07-25 14:36:11 -07:00
Vijay Pai 0a1c598986 Merge branch 'master' into fc_unary 2016-07-21 11:34:02 -07:00
Nicolas Noble f6aefa3ea6 Merge pull request #7400 from yang-g/ga_branch2
Cherrypick #7319 into v1.0.x
2016-07-21 11:28:44 -07:00
Yuchen Zeng 77b74258b5 Revert unnecessary deletions 2016-07-19 11:53:37 -07:00
Craig Tiller 5ca7e47493 Merge pull request #6737 from ctiller/delayed-write
Delay beginning most writes until we enter poll()
2016-07-19 09:25:49 -07:00
Yuchen Zeng 1318479011 Separate generated file and protobuf dependency 2016-07-18 13:07:42 -07:00
Robbie Shade c51a4833ce Merge branch 'master' into assert_not_expect 2016-07-15 15:06:14 -04:00
Mark D. Roth 30a4a544be Merge branch 'filter_call_init_failure' into filter_api 2016-07-15 09:16:05 -07:00
yang-g 807387641f prevent spurious wake up and unstarted/already shutdown server 2016-07-14 22:59:39 -07:00
Craig Tiller 13d3e3b7e2 Merge pull request #6737 from ctiller/delayed-write
Delay beginning most writes until we enter poll()
2016-07-14 19:31:47 -07:00
yang-g 6ec11f2acd prevent spurious wake up and unstarted/already shutdown server 2016-07-14 14:53:35 -07:00
yang-g 05573f1692 Make Server::Wait work for async only server. 2016-07-13 22:23:19 -07:00
Nicolas "Pixel" Noble e053e730d2 Avoid using certain C++11-isms with grpc::thread, as it's not necessarily std::thread. 2016-07-14 00:42:07 +02:00
Mark D. Roth 14bed44db2 Merge remote-tracking branch 'upstream/master' into filter_api 2016-07-12 14:09:41 -07:00
yang-g e89dc6ceb6 Make Server::Wait work for async only server. 2016-07-11 15:48:01 -07:00
Mark D. Roth 4f0b06e747 Move use of nullptr into grpc namespace, so that the hack in config.h
can be used.
2016-07-11 09:29:56 -07:00
Mark D. Roth 33e5cbbbb8 Add include to fix gcc-4.4 problem. 2016-07-11 08:00:28 -07:00
Craig Tiller 6c8619bbe7 Better fix for flow control bug 2016-07-07 10:41:48 -07:00
Mark D. Roth 98aa0c13f0 Merge branch 'filter_call_init_failure' into filter_api 2016-07-01 14:17:55 -07:00
Craig Tiller eda85c6765 Expunge all references to zookeeper 2016-07-01 12:45:19 -07:00
Mark D. Roth ab950ee7c5 Move channel_filter.h from include/ tree to src/ tree. 2016-06-29 14:51:53 -07:00
Mark D. Roth 89ebe55985 Merge branch 'filter_call_init_failure' into filter_api 2016-06-29 07:50:18 -07:00
Mark D. Roth 07cd9c9e06 Initial attempt at a C++ wrapper for the C grpc_transport_op and
grpc_transport_stream_op structs.
2016-06-27 10:14:38 -07:00
Craig Tiller f467846b1b Merge github.com:grpc/grpc into reuse_port 2016-06-26 09:54:53 -07:00
Jan Tattermusch a5cae9bd64 Merge pull request #6798 from jboeuf/fix_3803
Fix #3803
2016-06-24 16:14:02 -07:00
vjpai c0c38b1f19 Make the FCUnary class actually work and test it 2016-06-23 17:27:11 -07:00
vjpai fcb98a578c Add NextMessageSize method to all readable streams as an upper-bound
on the actual message size.
Rename Size of FCUnary to NextMessageSize for consistency
2016-06-23 13:18:50 -07:00
Robbie Shade 820c1f3fda ASSERT vector size before directly accessing first element 2016-06-23 14:31:28 -04:00
Craig Tiller 04a468122f Add comment 2016-06-21 09:16:57 -07:00
Craig Tiller d263b925e8 Make sure to poll cq 2016-06-21 09:15:57 -07:00
Vijay Pai 6ab4788ae9 clang-format changes 2016-06-17 00:31:23 -07:00
Mark D. Roth 9fe5ef5f9d Removed unnecessary comments. Added connection counter to test. 2016-06-16 14:26:04 -07:00
Mark D. Roth f5bbff9c8e Fix portability issues. 2016-06-16 12:56:07 -07:00
Mark D. Roth 905227049b Remove unnecessary code from test. 2016-06-16 11:40:25 -07:00
Mark D. Roth f9c1f7a412 clang-format 2016-06-16 10:57:28 -07:00
Mark D. Roth c008b33c18 Pass channel args to ChannelData ctor and ChannelData to CallData ctor. 2016-06-16 10:39:39 -07:00
Mark D. Roth 8a1a5976c7 Fixed test. 2016-06-16 10:22:26 -07:00
Mark D. Roth c459ecf7c9 - fix build problems
- make changes suggested by reviewer
- add test (not working yet)
2016-06-16 09:17:49 -07:00
Vijay Pai b31a9a0900 Include <cinttypes> for PRIuPTR. Not clear why this is needed. 2016-06-16 07:50:20 +00:00
Vijay Pai b9e927afcc Merge branch 'master' into wheezy 2016-06-15 22:57:21 -07:00
Vijay Pai 20bf126da6 clang-format 2016-06-15 22:21:48 -07:00
vjpai e44d53757a De-lambda-ify 2016-06-15 22:15:00 -07:00
Vijay Pai 679c75f0a6 Deal with issues surrounding const members of classes used in
containers
2016-06-15 13:10:32 -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
Jan Tattermusch 8fb6c924b5 Merge pull request #6875 from y-zeng/log_check
Add format check for gpr_log and gpr_asprintf, add gpr_strpad
2016-06-14 19:31:05 -07:00
Jan Tattermusch 136307756c Merge pull request #6438 from y-zeng/reflection_separate_lib
Proto server reflection
2016-06-13 14:16:06 -07:00
vjpai 97da6473b4 Manual clang-format 2016-06-13 09:56:26 -07:00
Yuchen Zeng bcf5023bb6 Fix zookeeper_test 2016-06-10 16:22:57 -07:00
Yuchen Zeng ed81a88c3e Merge remote-tracking branch 'upstream/master' into log_format_check 2016-06-10 15:46:23 -07:00
Yuchen Zeng beaa35724c Fix type mismatch for type_size 2016-06-10 15:46:14 -07:00
Yuchen Zeng 0ba114408e Fix gpr_log format mismatches in c++ tests 2016-06-10 15:15:44 -07:00
Vijay Pai 15855f3e7f Switch server builder plugin API to something that will work with gcc4.4 2016-06-10 12:25:32 -07:00
Yuchen Zeng d23710787b Merge remote-tracking branch 'upstream/master' into reflection_separate_lib 2016-06-07 15:00:52 -07:00
yang-g 000aa457dc add a test with empty request 2016-06-07 13:08:39 -07:00
Jan Tattermusch 570408fd4c Merge pull request #6741 from yang-g/its_ok_to_have_no_read_on_cancelled_call
Let Next set ok=true when receiving error status
2016-06-07 10:54:02 -07:00
Yuchen Zeng 0601df3a04 Move reflection src/hdr to src/cpp/ext include/grpc++/ext 2016-06-06 13:08:06 -07:00
Yuchen Zeng 1495cb5b24 Addressed reveiw comments about naming 2016-06-06 10:58:29 -07:00
Julien Boeuf 38c0cdee34 Fix double-free issue for optional_message.
Also better end to end testing of plumbing of plugin error message.
2016-06-06 14:46:08 +02:00
yang-g 17487f9a22 Make grpc++ independent of protobuf 2016-06-03 15:21:15 -07:00
Jan Tattermusch 2ff798629c Merge pull request #6664 from dklempner/server_builder_plugin_test
Fix a missing initialization
2016-06-02 20:28:39 -04:00
yang-g 15759f610e Let Next set ok=true when receiving error status 2016-06-01 11:21:27 -07:00
Craig Tiller c4c6ecf8e9 Merge github.com:grpc/grpc into test_affine 2016-05-23 12:48:55 -07:00
Craig Tiller bc7593de7a Revert "Revert "Remove spam""
This reverts commit e76528ce26.
2016-05-21 13:05:44 -07:00
Craig Tiller 34c6e87598 Simpler trick to force a listening cq 2016-05-21 13:05:01 -07:00
Craig Tiller e76528ce26 Revert "Remove spam"
This reverts commit 3f3312e7e9.
2016-05-21 12:43:17 -07:00
Craig Tiller 3f3312e7e9 Remove spam 2016-05-21 12:35:29 -07:00
Craig Tiller ae09d9dca9 Fixes and code simplification 2016-05-20 22:23:37 -07:00
Yuchen Zeng 91c51a7aba Add proto_server_reflection_test 2016-05-20 14:48:08 -07:00
Craig Tiller 718ce51af8 Fix server plugin test 2016-05-20 10:44:23 -07:00
Craig Tiller e004958fd6 Fix formatting, mem leak, stall 2016-05-20 10:31:09 -07:00
Craig Tiller aae6c2cb96 Fix server plugin test 2016-05-20 08:58:30 -07:00
David Klempner b941d5a4aa Fix a missing initialization 2016-05-19 21:00:47 -07:00
Julien Boeuf a4880374f9 Merge branch 'master' of github.com:grpc/grpc into credentials_refactoring 2016-05-18 22:12:43 -07:00
Craig Tiller 9766f4f424 Merge github.com:grpc/grpc into test_affine 2016-05-18 16:55:35 -07:00
Craig Tiller f7a670fe6d Merge branch 'server_channel_affinity' of github.com:sreecha/grpc into affine 2016-05-14 13:05:41 -07:00
David Klempner 6fb122dc6e Add calls to grpc_recycle_unused_port to two of the tests which call
grpc_pick_unused_port a lot.
2016-05-13 15:24:17 -07:00
Yuchen Zeng f86bbdefc9 Merge pull request #6373 from y-zeng/server-builder-plugin
Server builder plugin
2016-05-11 17:26:29 -07:00
Julien Boeuf bae6a4cb43 Merge branch 'master' of https://github.com/grpc/grpc into credentials_refactoring 2016-05-10 15:26:17 -07:00
Sree Kuchibhotla 8dbe2cb071 Merge branch 'master' into server_channel_affinity 2016-05-10 10:33:25 -07:00
yang-g 39e71c33d1 fix compiling error 2016-05-10 10:21:41 -07:00
Yuchen Zeng 26a1785cfc Resolve conflicts 2016-05-06 15:50:15 -07:00
Yuchen Zeng 7d099a5c90 Fix naming and comment problems 2016-05-06 13:21:36 -07:00
yang-g 080528abb7 Add parsing back to protobuf example 2016-05-06 13:12:00 -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
Julien Boeuf 8ca294e417 Refactoring the core security code.
As opposed to a flat directory, we now have the following structure:

- security
  -context
  - credentials
    - composite
    - fake
    - google_default
    - iam
    - jwt
    - oauth2
    - plugin
    - ssl
  - transport
  - util

We have not refactored the test code yet but this PR is already large
enough...
2016-05-04 15:51:28 -07:00
Craig Tiller e4d2748f2f Fix async_end2end_test flow control
Completion queues + flow control + single threading is hard.

We need a read outstanding on a call to grant flow control tokens to the
remote end.

To do that we need to request a read *before* we wait for the write to
be finished, otherwise, in the case of a large write we'll block waiting
for flow control tokens.

Built on #6402
2016-05-03 12:19:33 -07:00
Yuchen Zeng 3b8f3354de Add plugins at the time of static initialization 2016-05-03 12:18:13 -07:00
Vijay Pai d7b1e704a8 Cover large message sent securely or insecurely over async 2016-05-02 15:10:21 -07:00
Vijay Pai df8b62cea7 Add coverage for secure async end2end testing 2016-05-02 14:34:24 -07:00
Yuchen Zeng c049035bed Add GRPC_ prefix for macros 2016-04-29 14:05:08 -07:00
Yuchen Zeng 018bf1a864 modified has_async_methods and has_sync_methods of TestServerBuilderPlugin 2016-04-29 13:39:17 -07:00
Yuchen Zeng a42ec21341 Server builder plugin 2016-04-29 13:05:36 -07:00
Sree Kuchibhotla 1f5e262589 Add the option of adding a non-listening server completion queue. This makes writing certain test cases (like hybrid_end2end tests) easier 2016-04-21 12:28:15 -07:00
Craig Tiller eb9b6dbf11 Merge branch 'master' into ignore_connectivity 2016-04-04 23:28:28 -07:00
Craig Tiller 75dbc1eb67 Fixes 2016-04-01 13:01:26 -07:00
Craig Tiller 399b3c42de Fix client_crash_test, implement idempotency, fail_fast for C++ 2016-04-01 12:24:18 -07:00
Craig Tiller 1a2c5aa9ef Merge github.com:grpc/grpc into cleaner-posix2 2016-04-01 07:18:35 -07:00
Jan Tattermusch 4da87600dc Merge pull request #6041 from vjpai/i_know_virtual_destructors
Add virtual destructor to satisfy a requirement of some compilers
2016-03-31 17:54:43 -07:00
Craig Tiller 4c43ed325c Merge github.com:grpc/grpc into cleaner-posix2 2016-03-31 13:12:41 -07:00
vjpai bd06e441cc Add virtual destructor to satisfy a requirement of some compilers 2016-03-31 09:33:51 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller e50d7be28c Merge github.com:grpc/grpc into cleaner-posix2 2016-03-30 08:34:37 -07:00
Craig Tiller f45496fdb0 Fix include path 2016-03-30 07:41:19 -07:00
Vijay Pai 98f2f754b8 Used TYPED_TEST to parametrize
Include all 4 sync/async client/server combos
2016-03-29 00:54:11 -07:00
Vijay Pai 40d1a2cb87 clang-format 2016-03-29 00:38:09 -07:00
Vijay Pai bbbbf621e4 Add a concurrent test for sync client, async server case 2016-03-29 00:35:26 -07:00
Craig Tiller 8a03448a8c Merge github.com:grpc/grpc into cleaner-posix2 2016-03-28 16:09:04 -07:00
Craig Tiller 9533d042d4 Fix includes 2016-03-25 17:11:06 -07:00
Craig Tiller f40df23eeb Auto-changes 2016-03-25 13:38:14 -07:00
yang-g f64befd27f Make a copy of ByteBuffer when writing 2016-03-21 14:04:10 -07:00
Craig Tiller 7cd6ed7da3 Merge github.com:grpc/grpc into cleaner-posix2 2016-03-16 07:53:26 -07:00
Jan Tattermusch 39b082ae8c Merge pull request #5652 from grpc/revert-5599-revert-5572-srv_ctx
Revert "Revert "Properly integrate async API with server-side cancellations.""
2016-03-15 14:03:54 -07:00
Paul Querna 47d841de4d Add support for IP Addresses in Subject Alt Names. 2016-03-14 16:40:17 -07:00
Craig Tiller 4560bda1da Merge github.com:grpc/grpc into cleaner-posix2 2016-03-07 20:17:10 -08:00
Sree Kuchibhotla b0d1567e8e Revert "Revert "Properly integrate async API with server-side cancellations."" 2016-03-07 10:51:02 -08:00
Sree Kuchibhotla edd96e4926 Revert "Properly integrate async API with server-side cancellations." 2016-03-04 14:32:50 -05:00
Dan Born 51221f1e7e clang reformat. 2016-03-03 17:44:50 -08:00
Dan Born f2f7d57c01 Allow use of alternative credential types. 2016-03-03 17:26:12 -08:00
Vijay Pai dbf47fabd4 Better comments. 2016-03-03 16:25:06 -08:00
Vijay Pai 2e729387f7 clang-format 2016-03-03 14:22:12 -08:00
Vijay Pai 13ee2f2df3 Properly integrate async API with server-side cancellations.
There is a comment above IsCancelled that says when it is ok to use this.
2016-03-03 13:57:32 -08:00
Yang Gao e788e8bf8d Merge pull request #5523 from vjpai/e2e_stc
Fix ServerTryCancel in end2end tests
2016-03-02 07:45:45 +00:00
Vijay Pai 6c016efa34 ServerTryCancel was not actually respecting the API since it
could be an arbitrary amount of time between when the cancel is tried
and actually observable.
2016-03-01 16:27:53 -08:00
Sree Kuchibhotla 8d543e8e30 Fix ResponseStreamServerCancelAfter test flake 2016-02-29 18:22:25 -08:00
Craig Tiller 7c07aacb0f Fix async e2e 2016-02-25 20:18:53 -08:00
Vijay Pai bdfec2c86c SimultaneousReadWritesDone test was not observing the contract on the
streaming API. In particular, Finish should not be called until the client
is sure that there is no more message to be read (as documented in
the comments for ClientStreamingInterface::Finish)
2016-02-25 11:51:21 -08:00
yang-g ad0df7bf1f Discard the read buffer on stream error 2016-02-22 10:00:20 -08:00
Craig Tiller fc6fec2a2d Merge pull request #5258 from vjpai/poll_override2
Avoid a race when overriding default poll function
2016-02-21 22:59:52 -08:00
yang-g 4c8aed3dba Add a helper to return all the secure types 2016-02-19 00:19:39 -08:00
yang-g 17197ddc71 Revert "make an enum"
This reverts commit 5152cd29f8.
2016-02-19 00:04:22 -08:00
yang-g 5152cd29f8 make an enum 2016-02-18 16:37:51 -08:00
yang-g 7d2a3e1917 Refactor end2end_test. Make the credentials a separate library. 2016-02-18 15:41:56 -08:00
Vijay Pai b65eda4c88 Make the poll override function assert on non-zero timeout if invoked
from the end2end test thread itself (done by adding a TLS on that thread)

Also clang-format
2016-02-16 13:49:22 -08:00
Vijay Pai 018879aa9a Set up poll overrides 2016-02-16 09:20:50 -08:00
vjpai cf4daebe27 Comment the requirements for changing grpc_poll_function and do
poll overrides in such a way as to avoid polling races
2016-02-15 02:33:54 -08:00
yang-g a3c968d9c2 Merge remote-tracking branch 'upstream/master' into inherit_from_grpc_library 2016-02-12 14:54:16 -08:00
Craig Tiller a7d41147ea Merge github.com:grpc/grpc into bad_metadata 2016-02-12 10:13:52 -08:00
yang-g d59ad7ef39 Provide explicit API for user to set user agent string prefix 2016-02-10 12:42:53 -08:00
Craig Tiller 45551e0c99 Fix sanity 2016-02-08 14:22:40 -08:00
Sree Kuchibhotla 001db590ff Modify the test to have large number of threads receiving the RPCs and a
smaller number of threads sending the RPCs. This increases the
likelyhood of race-conditions on receiving threads.
2016-02-08 10:57:41 -08:00
Craig Tiller 3ad28d0f1c Merge pull request #4828 from vjpai/async_thread_stress_test
Introduce thread stress test for async RPCs
2016-02-04 11:04:22 -08:00
Yang Gao 0789c49566 Merge pull request #5042 from ctiller/compile
Fix clang3.7/tsan compile failure
2016-02-04 09:18:02 -08:00
Vijay Pai 0a3a766960 Give tsan a chance 2016-02-04 07:32:29 -08:00
Vijay Pai 912fe05ed3 Merge branch 'master' into async_thread_stress_test 2016-02-03 16:23:45 -08:00
Vijay Pai feef8be5ae clang-format 2016-02-03 16:21:25 -08:00
Craig Tiller 6f87164f3c Properly handle "." in metadata 2016-02-03 16:15:31 -08:00
Vijay Pai 63b28447e8 Remove the command-line flags 2016-02-03 15:40:06 -08:00
Vijay Pai 490e5023d7 Fix a typecast... 2016-02-03 15:37:03 -08:00
Vijay Pai e51d29d93c Remove some std:: so that grpc:: will be used by default when available 2016-02-03 12:00:09 -08:00
Vijay Pai 9f3bbb00d8 Generalize namespace for ParseCommandLineFlags 2016-02-03 11:41:50 -08:00
Vijay Pai d10bbb63f8 Refactor to favor composition over inheritance
Also make num_threads and num_rpcs as command-line flags
2016-02-03 11:26:23 -08:00
Craig Tiller e1c2d6a6df Fix clang3.7/tsan compile failure 2016-02-03 11:18:29 -08:00
Vijay Pai ce7929c877 Merge branch 'master' into async_thread_stress_test 2016-02-03 10:13:19 -08:00
Sree Kuchibhotla 4aadcb4ebf Run tools/distrib/clang_format_code.sh 2016-02-03 09:44:27 -08:00
Sree Kuchibhotla 9bc6fa0a40 Merge branch 'master' into server_try_cancel_api 2016-02-03 07:41:31 -08:00
yang-g 9fd55b0d2d remove duplicate functions 2016-02-02 16:23:35 -08:00
yang-g 7b0edbd1a3 remove the old impl caused by 4921 2016-02-02 16:05:21 -08:00
Sree Kuchibhotla a0a8eaab0e Merge branch 'master' into server_try_cancel_api 2016-02-01 14:04:19 -08:00
Sree Kuchibhotla 369a04ace6 Address code review comments 2016-02-01 10:53:13 -08:00
yang-g f8174ea37d use huffman prefix 2016-02-01 00:09:13 -08:00
Sree Kuchibhotla 0f242acb9d Comments and a minor fix 2016-01-29 18:13:33 -08:00
Sree Kuchibhotla 4fb590852f Use the same completion queue for both client and server 2016-01-29 11:16:24 -08:00
Sree Kuchibhotla f25c6ba229 Comments and format 2016-01-28 18:04:03 -08:00
Sree Kuchibhotla 944f4cf14e Sync server end2end and async_end2end tests 2016-01-28 17:37:10 -08:00
David Garcia Quintas b4e51b52bd Merge branch 'master' of github.com:grpc/grpc into sync-async-plus-interfaces 2016-01-27 19:57:58 -08:00
Vijay Pai 1d5faae03b Merge branch 'master' into async_thread_stress_test 2016-01-27 15:20:03 -08:00
Craig Tiller a0fef14784 clang-format code 2016-01-27 15:10:39 -08:00
Craig Tiller b0f275e4af Small testing fixes
- end2end test deadlines may complete before checking IsCancelled
  => don't expect it to be false in these cases
- add exponential backoff to port_posix
- ensure run_tests rebuilds targets with a regex I commonly use
2016-01-27 10:45:50 -08:00
vjpai c1e70dbc61 100->1000 2016-01-26 15:24:56 -08:00
vjpai 79bdde2ac3 Make async message match sync 2016-01-26 15:22:21 -08:00
Vijay Pai c7c5639d3e Make TearDown follow typical gtest fixture format 2016-01-22 15:34:14 -08:00
Vijay Pai e3b03712fd 100->1000 2016-01-22 11:20:37 -08:00
Vijay Pai 4dc269ed98 Merge async client thread stress test into main thread stress test so as to
improve code reuse
2016-01-22 11:19:30 -08:00
Vijay Pai dac77d600c Trim some unused code copied from another test. 2016-01-21 18:00:42 -08:00
Vijay Pai abd5aa402f Introduce thread stress test using async client. The server is still sync
for now. This will increase our coverage of concurrent execution cases in C++
since we don't currently have any coverage for multithreaded async execution using
a common completion queue.

In this test, 100 client threads initiate 1000 RPCs each, then join, and then
100 client threads come along to proces those RPC completion events as they come back.
2016-01-21 17:48:29 -08:00
David Garcia Quintas f3ddb7c55a clang-format 2016-01-20 16:02:22 -08:00
yang-g b971173712 Add tests with a second service 2016-01-15 16:53:08 -08:00
yang-g 4fac82b672 remove outdated api 2016-01-15 13:15:32 -08:00
yang-g ad63510102 Add a test with two methods generic 2016-01-15 13:11:37 -08:00
yang-g 9f17314a35 move utilities to a separate file 2016-01-15 12:46:40 -08:00
yang-g c021c9be5b clang-format 2016-01-15 11:28:35 -08:00
yang-g 269b8be406 add generic test 2016-01-15 10:46:26 -08:00
yang-g 8053d2feb6 Merge remote-tracking branch 'upstream/master' into sync_async_mix 2016-01-15 08:53:15 -08:00
yang-g d6f7d99dc6 Add a hybrid end2end test mixing sync and async methods 2016-01-14 16:04:20 -08:00
David Garcia Quintas 2bf574f814 Added back trailing newlines 2016-01-14 15:55:03 -08:00
yang-g be5a2c4f04 working test 2016-01-14 13:11:15 -08:00
yang-g 25f191d49b merge with head 2016-01-14 11:51:11 -08:00
murgatroid99 ace28d3f98 Fix copyrights again 2016-01-14 10:12:10 -08:00
Sree Kuchibhotla b0d0c8e8c2 FormatCode 2016-01-13 22:52:17 -08:00
Sree Kuchibhotla 5a05f51a1c Rename TestService to EchoTestService to prevent name-conflict with
'TestService' in test.proto
2016-01-13 22:43:20 -08:00
yang-g dc548ed65d merge with head 2016-01-13 10:42:19 -08:00
murgatroid99 3466c4b55d Updated copyrights 2016-01-12 10:26:04 -08:00
Craig Tiller 15f383c6cc Exploratory refactoring for mixed sync/async methods on the same C++ service 2016-01-07 12:45:32 -08:00
Craig Tiller 54ed674d40 Merge github.com:grpc/grpc into proto_names 2016-01-06 17:05:34 -08:00
Craig Tiller 00f8702c5e Merge branch 'yawn' into proto_names 2015-12-22 14:23:51 -08:00
Craig Tiller 7536af02cf Eliminate gpr_ int types - and insist on C99 variants instead 2015-12-22 13:49:30 -08:00
Craig Tiller 0fe5ee7be3 BoringSSL integration: non-vsprojects changes 2015-12-22 12:50:36 -08:00
Craig Tiller 1b4e33029e Consolidate C++ proto files under src/proto
- make the directory structure match the package structure
- sanitize the package structure (test --> testing)
- add auto-detection of proto file dependencies
2015-12-17 16:35:00 -08:00
Craig Tiller ca9a637877 Fix double read at end of stream bug 2015-12-15 18:16:28 -08:00
Craig Tiller 620e965c1b clang-format after last weeks test-fest 2015-12-14 12:02:50 -08:00
Yang Gao 5b763f5355 Merge pull request #4362 from vjpai/coverage-serve2
Cover an unsupported case of mixing sync and async service in server
2015-12-09 12:50:58 -08:00
vjpai 017ed62ce4 Cover an unsupported case of mixing sync and async service in same server 2015-12-09 10:42:54 -08:00
vjpai ba2b8ed553 Add a case to cover multiple adds of generic service 2015-12-09 10:24:47 -08:00
Nicolas "Pixel" Noble f9c58f3bf7 Merge branch 'release-0_12'
Conflicts:
	src/core/security/credentials.c
	test/core/security/credentials_test.c
2015-12-01 22:40:44 +01:00
Julien Boeuf 114f39475f Cpp example of how the plugins can be done. 2015-11-19 22:24:05 -08:00
David G. Quintas 75b53d6a5d Merge pull request #3993 from ctiller/new_op
Core transport & call cleanup
2015-11-18 08:52:10 -08:00
Julien Boeuf 232d625a84 Merge branch 'master' of github.com:grpc/grpc into core_creds_api_change 2015-11-17 20:55:13 -08:00
Julien Boeuf 675b5ce861 Merge branch 'master' of github.com:grpc/grpc into core_creds_api_change 2015-11-17 15:05:45 -08:00
yang-g a89bf50cf1 Handle cancel before start case 2015-11-17 14:19:17 -08:00
Craig Tiller a147aee75a Merge github.com:grpc/grpc into new_op 2015-11-04 07:29:22 -08:00
vjpai 6bf1de9ab2 Mark a method with GRPC_OVERRIDE to avoid compiler warning 2015-11-02 14:48:57 -08:00
Craig Tiller 93b944785c stream_op cleanup: test fixes and updates 2015-11-02 14:18:30 -08:00
Julien Boeuf 18a12c4e9b Fixing zookeeper tests as well. 2015-10-12 15:05:59 -07:00
Julien Boeuf e5adc0eb67 Fixing Cpp tests. 2015-10-12 14:09:13 -07:00
Craig Tiller 91054e6855 Merge pull request #3627 from yang-g/flake2
Deflake end2end_test
2015-10-05 11:21:49 -07:00
yang-g c04610357c The Writes may return false after the server cancels the stream 2015-10-02 16:22:43 -07:00
Vijay Pai 7a94236d69 Merge pull request #3556 from ctiller/clangf
Fix clang-format script
2015-10-01 23:23:50 -07:00
yang-g 0d55750cb2 Maybe it is already ready when we call getstatus 2015-10-01 11:34:00 -07:00
Craig Tiller b7a597771f Merge github.com:grpc/grpc into clangf 2015-10-01 08:01:58 -07:00
Vijay Pai f37cac7dd2 Merge pull request #3565 from yang-g/end2end_test
Add more test cases to end2end test.
2015-09-30 14:36:41 -07:00
Vijay Pai 8423203cbb For compatibility with gcc-4.4, eliminate use of sleep_for and
std::atomic
2015-09-29 23:16:08 +00:00
yang-g bf22e0e8a0 remove anonymous namespace in anonymous namespace 2015-09-29 12:50:07 -07:00
yang-g 88d5d52d73 add tls and proxy as dimensions of end2end test 2015-09-29 12:47:51 -07:00
Craig Tiller 71a0f9d3b0 Fix clang-format script 2015-09-28 17:22:01 -07:00
Vijay Pai fa6e70ff85 Remove one pessimizing std::move 2015-09-28 15:56:07 -07:00
Yang Gao b09a875917 Merge pull request #3476 from vjpai/block_annotate
Annotate blocking points
2015-09-25 13:54:51 -07:00
vjpai 3ca49d2a1a Add a todo regarding a C++ block annotation 2015-09-24 21:55:16 -07:00
Craig Tiller b0bd53a173 Merge github.com:grpc/grpc into shindig
Conflicts:
	src/core/surface/secure_channel_create.c
2015-09-22 16:24:12 -07:00
Julien Boeuf 8b0b6f413d It is a bad idea to have a map with string_refs as output params.
This is very much unsafe as the string_ref could point on a stack
variable of the callee.
2015-09-22 13:31:16 -07:00
Craig Tiller 10ee2747a9 Merge github.com:grpc/grpc into we-are-one 2015-09-22 09:25:57 -07:00
Craig Tiller f9dd54c2eb Merge pull request #3378 from yang-g/connection_failure_detection
remove connectivity watcher from interested party early
2015-09-22 08:28:22 -07:00
yang-g 5e8abedd61 use seconds 2015-09-18 01:31:57 -07:00
yang-g d886f33939 add a test 2015-09-18 01:24:14 -07:00
Julien Boeuf fd2f7331fa Merge branch 'master' of github.com:grpc/grpc into core_creds_plugin 2015-09-15 15:20:26 -07:00
Julien Boeuf 1928d496a2 Adding C++ tests and fixing a few things. 2015-09-15 15:20:11 -07:00
Craig Tiller 2311d4918f Merge pull request #3186 from grpc/release-0_11
Daily Release 0.11 upport to master
2015-09-03 17:16:03 -07:00
Nicolas "Pixel" Noble 59588c6162 Removing pessimizing moves.
Pass #2.
2015-09-03 02:29:30 +02:00
Craig Tiller 93ddc61c10 Fix compilation 2015-09-02 07:57:48 -07:00
Nicolas "Pixel" Noble 7fa51677bc Removing pessimizing moves.
These have been reported by a (very recent) build of clang and its new -Wpessimizing-move option.
2015-09-02 02:29:16 +02:00
Craig Tiller 1fdb05b498 Merge github.com:grpc/grpc into daisy-dukes
Conflicts:
	build.json
	vsprojects/Grpc.mak
2015-09-01 17:13:30 -07:00
Craig Tiller a4517a2020 Remove C++11isms 2015-08-31 07:29:12 -07:00
Craig Tiller 61575651ab Merge github.com:grpc/grpc into daisy-dukes 2015-08-31 07:11:54 -07:00
Julien Boeuf 0d47192afa Fixing headers and paths after merge with upstream. 2015-08-30 22:18:50 -07:00
Julien Boeuf 821de3439f Addressing comments. 2015-08-28 16:31:20 -07:00
Julien Boeuf 5be92a316d Shuffling headers around. 2015-08-28 16:28:18 -07:00
Julien Boeuf 97cd4ae606 Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor 2015-08-28 15:51:02 -07:00
Julien Boeuf 6c7185d350 Merge branch 'master' of github.com:grpc/grpc into credentials_naming_and_cleanup 2015-08-28 14:33:17 -07:00
Julien Boeuf a883ccfb46 Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor 2015-08-28 14:13:04 -07:00
Julien Boeuf 0c711ad88b Adding C++ metadata processor.
- Had to chnage the core API to add a destroy function pointer in
  grpc_auth_metadata_processor.
- Tested end to end.
- Fixed some issues in the server_auth_filter (we were not checking the
  length which put us at risk of an overflow).
2015-08-28 14:10:58 -07:00
Julien Boeuf fe4bacb641 Merge branch 'credentials_naming_and_cleanup' of github.com:jboeuf/grpc into credentials_naming_and_cleanup 2015-08-27 15:49:27 -07:00
yang-g 730055d962 implementation fix 2015-08-27 12:29:45 -07:00
Craig Tiller 958ee76018 IWYU 2015-08-27 08:09:50 -07:00
Craig Tiller 70a816807f Friends dont let friends use volatile for synchronization 2015-08-27 07:46:20 -07:00
Rakesh Iyer 4abe76eff5 Repro case for flow control bug.
This is a repro case for a bug where if the client is sending
full throttle and the receiver is not able to keep up, the
client reaches a case where it doesn't make forward progress
anymore.

Signed-off-by: Craig Tiller <craig.tiller@gmail.com>
2015-08-26 16:38:36 -07:00
yang-g 5e700f3d1f Merge remote-tracking branch 'upstream/master' into string_ref_auth 2015-08-26 10:16:31 -07:00
Craig Tiller afbbaf9c3e Merge pull request #3065 from yang-g/string_ref
Use string_ref for incoming metadata
2015-08-26 08:22:42 -07:00
Julien Boeuf 510a920c75 Credentials cleanup:
- Removing service_accounts credentials. These credentials just have
  drawbacks compared to service_account_jwt_access credentials, notably
  in terms for security.
- Renaming Google specific credentials with a Google prefix for C and
  C++. This should be done as well for wrapped languages.
2015-08-25 21:51:07 -07:00
yang-g d090fe1379 auth context api change for string_ref 2015-08-25 16:53:07 -07:00
yang-g e21908fcee impl 2015-08-25 13:47:51 -07:00
Craig Tiller dc31ef38d2 Loosen test requirements to better fit spec 2015-08-25 07:11:35 -07:00
yang-g 3e4bd9598b merge with head 2015-08-24 15:54:07 -07:00
Vijay Pai 0660eaca00 Merge branch 'master' into fray 2015-08-24 14:33:39 -07:00
Vijay Pai e8a7e30a75 Eliminate public thread-pool interface 2015-08-24 10:52:33 -07:00
Craig Tiller b7e22b9686 Merge github.com:grpc/grpc into y12kdm3 2015-08-21 16:06:30 -07:00
yang-g 9e2f90cd06 headers reorg 2015-08-21 15:35:03 -07:00
yang-g d392fa04c5 fix shutdown_test 2015-08-20 13:55:29 -07:00
yang-g 961eeb0b44 Merge remote-tracking branch 'upstream/master' into docs 2015-08-20 12:18:28 -07:00
yang-g 8c2be9f228 Remove ChannelInterface and replace it with Channel 2015-08-19 16:28:09 -07:00
Craig Tiller 128f4a9cfe Merge github.com:grpc/grpc into y12kdm3 2015-08-18 12:51:05 -07:00
Craig Tiller 5c6e6276be Merge github.com:grpc/grpc into shutdown-c++ 2015-08-18 12:45:09 -07:00
Craig Tiller e50e5cbde2 Add a timeout to shutdown to forcefully end calls 2015-08-18 12:44:57 -07:00
Craig Tiller d6c98df792 clang-format all source 2015-08-18 09:33:44 -07:00
yang-g c31cd86a74 Let lame_client accept error status 2015-08-17 15:37:27 -07:00
Craig Tiller 8f7bff7d48 Merge github.com:grpc/grpc into y12kdm3 2015-08-17 13:23:14 -07:00
David G. Quintas bd0d1bd5d9 Merge pull request #2549 from hongweiwang/zookeeper
Zookeeper name resolver
2015-08-14 10:06:03 -07:00
Hongwei Wang c3f48c80d4 Minor fix on comments 2015-08-13 17:22:58 -07:00
Hongwei Wang 85ad685e57 Address comments and update grpc plugins 2015-08-13 16:13:10 -07:00
Vijay Pai 8c0389d84e Merge pull request #2921 from yang-g/unknown_service
Use a sync service to handle requests to unknown services
2015-08-13 15:30:01 -07:00
yang-g 9b7757dd35 Use a sync service to handle requests to unknown services 2015-08-13 11:15:53 -07:00
Hongwei Wang ff6097ac49 Fix zookeeper resolver plugin bugs 2015-08-12 17:48:56 -07:00
Craig Tiller d067c263b2 Merge github.com:grpc/grpc into y12kdm3
Conflicts:
	src/core/security/google_default_credentials.c
	test/core/security/verify_jwt.c
2015-08-12 12:00:36 -07:00
Hongwei Wang 31efd2adad Debugging 2015-08-12 11:42:58 -07:00
Hongwei Wang eeb61ba355 Minor fix for debugging 2015-08-12 11:27:28 -07:00
David G. Quintas 086a982744 Removed "<:" bigram confusing gcc 4.4
Resulted in error:

```test/cpp/end2end/end2end_test.cc:120: error: ‘<::’ cannot begin a template-argument list
test/cpp/end2end/end2end_test.cc:120: note: ‘<:’ is an alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’
test/cpp/end2end/end2end_test.cc:120: note: (if you use ‘-fpermissive’ G++ will accept your code)
make: *** [objs/opt/test/cpp/end2end/end2end_test.o] Error 1```
2015-08-11 18:56:10 -07:00
Hongwei Wang d7c5aa856b Formatting zookeeper_test 2015-08-10 20:30:39 -07:00
Hongwei Wang b0453fba84 Update zookeeper test to have two servers 2015-08-10 17:04:36 -07:00
Hongwei Wang 68d205d85b Minor fix on zookeeper test 2015-08-07 19:19:02 -07:00
Hongwei Wang 6bbcd0493e test 2015-08-07 19:09:36 -07:00
Hongwei Wang ad5c897a94 Merge branch 'master' of https://github.com/grpc/grpc into zookeeper 2015-08-07 17:17:22 -07:00
Hongwei Wang 497d26a83d Update zookeeper in jenkins docker file 2015-08-07 16:39:24 -07:00
Hongwei Wang 2ad07d7523 Formatting 2015-08-07 11:30:36 -07:00
Hongwei Wang 6d445965cc Zookeeper test server address as environment variable 2015-08-07 10:53:22 -07:00
yang-g cec757f22a Fix build 2015-08-06 22:53:58 -07:00
yang-g 87e133e13a merge with head 2015-08-06 22:51:27 -07:00
yang-g c8abca8f53 Resolve comments 2015-08-06 22:50:16 -07:00
Craig Tiller a3a7e5c0b2 Merge github.com:grpc/grpc into y12kdm3 2015-08-06 13:19:33 -07:00
Hongwei Wang a83d1b324a Merge branch 'master' of https://github.com/grpc/grpc into zookeeper 2015-08-06 12:52:18 -07:00
Craig Tiller 4c06b820e0 Add a test of non-blocking API behavior
... also fix things that were broken :)
2015-08-06 08:41:31 -07:00
Craig Tiller 69f90e6382 Working towards a non-blocking API test 2015-08-06 08:32:35 -07:00
Hongwei Wang 2b1b95a792 Change zookeeper address to grpc-jenkins-master in zookeeper_test 2015-08-05 17:32:43 -07:00
Hongwei Wang 443a7501bb Zookeeper test add authority in client context 2015-08-05 16:27:54 -07:00
Craig Tiller 2c3be1df4f Add tests for C++ propagation 2015-08-05 15:59:27 -07:00
yang-g 8708dd76c1 Add WaitForState 2015-08-05 15:57:14 -07:00
yang-g 36f5965247 clean up and add a test 2015-08-05 15:15:18 -07:00
Hongwei Wang bc7405c320 Merge branch 'master' of https://github.com/grpc/grpc into zookeeper 2015-08-05 12:46:17 -07:00
Yang Gao d2e9cb3b92 Merge pull request #2765 from ctiller/the-test-be-sleepy
Fix edge cases in CHTTP2 resulting in lose of send close from clients
2015-08-05 11:47:30 -07:00
Hongwei Wang 4346e53be6 Merge branch 'master' of https://github.com/grpc/grpc into zookeeper 2015-08-05 11:21:15 -07:00
Craig Tiller 220adcc745 Merge branch 'primary-goat-whisperer' into the-test-be-sleepy 2015-08-05 07:16:52 -07:00
yang-g 5239ee2bd0 Merge remote-tracking branch 'upstream/master' into cancel 2015-08-04 16:15:57 -07:00
yang-g b335256444 Add AsyncNotifyWhenDone 2015-08-04 14:42:06 -07:00
Craig Tiller 902d9c4722 Merge pull request #2749 from yang-g/default_host_to_null
Pass NULL as host by default. Use context.authority() or channel.SslN…
2015-08-04 14:28:49 -07:00
Craig Tiller 82389ecf1a Merge branch 'primary-goat-whisperer' into the-test-be-sleepy 2015-08-04 09:01:36 -07:00
Hongwei Wang 72538b9103 Merge branch 'master' of https://github.com/grpc/grpc into zookeeper 2015-08-03 12:29:18 -07:00
Hongwei Wang eace1904de Zookeeper resolver end-to-end test: zookeeper state change between two RPCs 2015-08-03 12:22:32 -07:00
Craig Tiller fb21ae6040 Re-enable all the tests 2015-08-03 10:16:11 -07:00
yang-g 940d555a63 fix generic_end2end_test 2015-07-31 22:11:41 -07:00
Craig Tiller 7c1be05463 Line up starting times 2015-07-31 15:38:37 -07:00
Hongwei Wang 8e04d4107e Add zookeeper end-to-end test 2015-07-31 15:12:51 -07:00
yang-g 8ab383686b add a test where a read and a writesdone happen at the same time 2015-07-31 14:05:33 -07:00
yang-g dcf6c90b33 merge with head 2015-07-30 11:35:18 -07:00
yang-g d7ead699f8 Add a test 2015-07-30 10:57:45 -07:00
Craig Tiller dfc42da760 Merge github.com:grpc/grpc into sometimes-its-good-just-to-check-in-with-each-other
Conflicts:
	src/core/iomgr/tcp_server_windows.c
2015-07-26 12:37:53 -07:00
Yang Gao 2a31304d7f Merge pull request #2647 from vjpai/deepend
Dynamic-sized thread pool
2015-07-24 23:08:27 -07:00
Yang Gao 1fedc800dc Merge pull request #2655 from vjpai/expecteq
Switch an int to size_t or else it fails on Mac
2015-07-24 21:59:03 -07:00
jboeuf 5749a3f467 Merge pull request #2605 from yang-g/fake_transport_security_to_private
Fake transport security to private
2015-07-24 21:30:35 -07:00
vjpai 51d22752d6 Switch an int to size_t or else it fails on Mac 2015-07-24 14:11:04 -07:00
Vijay Pai f0c66c6365 Merge branch 'master' into deepend 2015-07-24 10:51:27 -07:00
Vijay Pai 1f3e6c1ebe Start switching everything to dynamic pool 2015-07-23 16:18:21 -07:00
Craig Tiller b256faa353 Merge github.com:grpc/grpc into sometimes-its-good-just-to-check-in-with-each-other 2015-07-23 11:28:16 -07:00
yang-g 6f30decf79 Flow control fix 2015-07-22 23:14:43 -07:00
Yang Gao 1451f2e919 Merge pull request #2571 from vjpai/cent6-issues
Remove one range-based for and do appropriate static casts on nullptr
2015-07-22 21:30:00 -07:00
yang-g 70a1337045 merge head and resolve conflict 2015-07-22 00:08:06 -07:00
yang-g 8b25f2aaeb move fake_transport_security_credentials to private API 2015-07-21 23:54:36 -07:00
Vijay Pai c4af224970 Remove one range-based for and do appropriate static casts on nullptr 2015-07-21 18:44:20 +00:00
Craig Tiller 60fb201277 Merge github.com:grpc/grpc into now-i-get-to-show-it-to-EVERYBODY
Conflicts:
	src/cpp/client/channel_arguments.cc
2015-07-20 21:37:13 -07:00
Craig Tiller bf6abeef3d Remove experimental prefix 2015-07-19 22:31:04 -07:00
Craig Tiller b4fdd32100 Merge github.com:grpc/grpc into now-i-get-to-show-it-to-EVERYBODY
Conflicts:
	src/cpp/client/channel_arguments.cc
2015-07-19 22:26:26 -07:00
Craig Tiller b4e70366c6 Merge branch 'decompression' of https://github.com/dgquintas/grpc into dgquintas-decompression
Conflicts:
	Makefile
	vsprojects/Grpc.mak
2015-07-19 15:35:17 -07:00
Craig Tiller 0dc5e6cf16 User agent string support 2015-07-18 20:39:34 -07:00
Craig Tiller 8bf2dcab4e Make tests a little more robust 2015-07-18 20:39:34 -07:00
David Garcia Quintas cadbf22467 Removed compression levels from clients and _experimental_'d signature of methods manipulating compression algorithms 2015-07-17 15:33:13 -07:00
Craig Tiller c9fef6f521 Merge github.com:grpc/grpc into no-worries-i-can-wait 2015-07-17 14:41:12 -07:00
David Garcia Quintas 7cceb09b79 Merge branch 'master' of github.com:grpc/grpc into decompression 2015-07-16 17:01:18 -07:00
Craig Tiller 9a3f858f93 Merge pull request #2460 from vjpai/exposed_pool
Make thread_pool.h a public header
2015-07-16 16:26:19 -07:00
vjpai a2e1bb1577 Change name of thread_pool files to fixed_size_thread_pool when
appropriate
2015-07-15 16:49:49 -07:00
David Garcia Quintas e0d581b6ad Merge branch 'master' of github.com:grpc/grpc into decompression
# Conflicts:
#	Makefile
#	include/grpc++/client_context.h
#	include/grpc++/server_context.h
#	src/cpp/client/client_context.cc
#	src/cpp/server/server_context.cc
#	vsprojects/Grpc.mak
2015-07-15 14:07:18 -07:00
Craig Tiller e845d980e5 Merge pull request #2406 from dgquintas/writeoptions
Added WriteOptions for per-message flags and modified CallOps to use it.
2015-07-15 13:40:31 -07:00
Vijay Pai 69f2410086 Make thread_pool.h a public header
Rename ThreadPool -> FixedSizeThreadPool to allow for later introduction
of DynamicSizeThreadPool
2015-07-15 12:33:37 -07:00
Vijay Pai 181ef45f5e Addressing outstanding typos and comments
Clang-format of changed files
2015-07-14 13:52:48 -07:00
vjpai df551611d4 Remove reference to nullptr to avoid compiler seeing ambiguity in gcc-4.4
build. The issue is that gcc below 4.6 require us to explicitly define nullptr,
and our explicit definition allows a potential confusion between
nullptr->unique_ptr<string> and
nullptr->char *->grpc::string->unique_ptr<string>
2015-07-14 13:38:44 -07:00
David Garcia Quintas 6a3cf974f7 Added WriteOptions for per-message flags and modified CallOps to use it. 2015-07-13 13:38:18 -07:00
Craig Tiller 677c50c92a Update C++ impl 2015-07-13 10:49:06 -07:00