Commit Graph

4138 Commits

Author SHA1 Message Date
Mark D. Roth 36ac496c35
Merge pull request #17046 from markdroth/health_check_client_fix
Fix handling of call context in health check call batch payload.
2018-10-30 07:03:28 -07:00
Mark D. Roth 3465dd0cbf
Merge pull request #17010 from grpc/revert-16996-revert-16912-fail_rpcs_on_transient_failure
Revert "Revert "Fail wait_for_ready=false RPCs when channel is in TRANSIENT_FAILURE.""
2018-10-30 06:38:15 -07:00
Mark D. Roth 8352f9d274 Fix handling of call context in health check call batch payload. 2018-10-29 14:11:08 -07:00
Vijay Pai 84e763f10a Experimental C++ server callback unary API 2018-10-29 13:41:25 -07:00
Yash Tibrewal 85ddf5c713 Get ClientContext included with ChannelInterface, and slight more cleanup 2018-10-29 00:14:05 -07:00
Yash Tibrewal 01313976e1
Merge pull request #16842 from yashykt/interceptors
Experimental API for Client and Server Interception
2018-10-28 23:36:59 -07:00
Yash Tibrewal d21a175b28 Revert "Add dummy interceptors to end2end_test and async_end2end_test"
This reverts commit d075719477.
2018-10-27 19:36:49 -07:00
Yash Tibrewal d075719477 Add dummy interceptors to end2end_test and async_end2end_test 2018-10-27 00:22:22 -07:00
Yash Tibrewal a55d60056b Fix build 2018-10-26 17:16:17 -07:00
Yash Tibrewal 1ea195b6f3 Reviewer comments except for void * fixed 2018-10-26 16:11:48 -07:00
ncteisen bc44c5e353 Add GetServer to channelz cpp 2018-10-26 12:58:04 -07:00
Noah Eisen 5cf95f0b52
Merge pull request #16991 from ncteisen/channelz-get-server-core
Channelz part 10: GetServer
2018-10-26 12:18:59 -07:00
Yash Tibrewal cc21d32c77 Some cleanup 2018-10-26 00:13:55 -07:00
Yash Tibrewal 560963bd8b Add sync unknown method test 2018-10-25 22:25:49 -07:00
Yash Tibrewal 312feb4202 Adding generic rpc and unimplemented rpc test for server interceptors 2018-10-25 21:43:49 -07:00
Yash Tibrewal 3896dabb85 Merge branch 'master' into interceptors 2018-10-25 19:50:10 -07:00
Yash Tibrewal a094b7b312 Added server async tests 2018-10-25 19:24:30 -07:00
Spencer Fang 2808bd0ba0 Use forwarding LB test policy. Fix trailer interception code. 2018-10-25 15:47:13 -07:00
Noah Eisen 793853e62f
Merge pull request #16997 from ncteisen/grpc-build-purgatory
Channelz: unifying OSS and internal
2018-10-25 12:38:45 -07:00
Mark D. Roth 2cff9ca408
Revert "Revert "Fail wait_for_ready=false RPCs when channel is in TRANSIENT_FAILURE."" 2018-10-25 12:24:42 -07:00
ncteisen 693f46841a Add GetServer to core 2018-10-24 17:31:30 -07:00
ncteisen 4fa389b137 Unifying grpc build hacks 2018-10-24 17:25:51 -07:00
hcaseyal c4e2c46be1
Revert "Fail wait_for_ready=false RPCs when channel is in TRANSIENT_FAILURE." 2018-10-24 17:20:05 -07:00
Mark D. Roth f85fd026e3 Client-side health checking support. 2018-10-24 12:29:04 -07:00
Mark D. Roth b6059e2e86 Fail wait_for_ready=false RPCs when channel is in TRANSIENT_FAILURE. 2018-10-24 07:13:58 -07:00
Yash Tibrewal 62280b42c7 Add client streaming, server streaming and bidi streaming tests 2018-10-23 21:08:39 -07:00
Spencer Fang c62c3b920c Add fake lb policy for test. Tweak existing interception code. 2018-10-23 16:50:31 -07:00
Yash Tibrewal 66cc56bb03 Another server side test 2018-10-23 15:33:08 -07:00
Yash Tibrewal 4da91c1156 First test for server interception 2018-10-23 13:56:36 -07:00
apolcyn 2f92bdedad
Merge pull request #16727 from apolcyn/grpclb_interop_master
Add a grpclb-in-DNS interop test suite
2018-10-23 13:06:38 -07:00
Yash Tibrewal 0c7250c7b4 Adding streaming test for client interceptors 2018-10-23 12:15:21 -07:00
Yash Tibrewal 6e00b3bb88 Use InProc Channel for callback tests 2018-10-23 11:22:09 -07:00
Juanli Shen e401a0898c
Merge pull request #16873 from AspirinSJL/add_interop
Add interop test into bazel build
2018-10-23 10:50:54 -07:00
Alex Polcyn e52d87b53d Add a grpclb-in-DNS interop test suite 2018-10-23 00:00:08 -07:00
Juanli Shen 800a09b24e Add interop test into bazel build 2018-10-22 16:50:07 -07:00
Yash Tibrewal d8cfd96fb2 Adding tests using the callback API 2018-10-22 16:43:43 -07:00
Yash Tibrewal b358ef85dc Merge branch 'master' into interceptors 2018-10-22 10:39:27 -07:00
Yash Tibrewal 9b83b7d19e Adding intercepted channel 2018-10-22 02:42:03 -07:00
Yash Tibrewal 3a17f5b05e Working on tests 2018-10-21 23:06:21 -07:00
Noah Eisen 0c4f412e13
Merge pull request #16933 from ncteisen/fix-microbenchmarks
Remove Uneeded Header from Benchmark
2018-10-18 16:10:56 -07:00
Yang Gao ef4f63813e
Merge pull request #16903 from grpc/revert-16902-revert-16766-master
Revert "Revert "grpc_cli json support""
2018-10-18 15:58:11 -07:00
ncteisen 1a7f14fd31 Remove uneeded header 2018-10-18 14:00:09 -07:00
Mark D. Roth 6577a62313
Merge pull request #16697 from markdroth/health_checking_service
Third attempt: Implement Watch method in health check service.
2018-10-18 10:28:00 -07:00
Soheil Hassas Yeganeh 56f77e7163
Merge pull request #16914 from soheilhy/worktree-bench
Fix bazel for //test/cpp/microbenchmarks/...
2018-10-17 22:14:54 -04:00
Soheil Hassas Yeganeh cc5fe63da0 Fix bazel for //test/cpp/microbenchmarks/...
Fix a build failure due to missed dependency and add the bm_create_call
benchmark to the build targets.
2018-10-17 16:27:59 -04:00
Mark D. Roth c684898055 Merge remote-tracking branch 'upstream/master' into health_checking_service 2018-10-17 08:52:17 -07:00
Yang Gao 6bfb966271
Revert "Revert "grpc_cli json support"" 2018-10-16 15:49:46 -07:00
David G. Quintas a464b4ce39
Revert "grpc_cli json support" 2018-10-16 14:42:37 -07:00
Yash Tibrewal b232bacf27 Starting on server interceptors 2018-10-16 14:11:07 -07:00
Yash Tibrewal f9fe345553 Add more tests for client interceptors 2018-10-16 14:11:07 -07:00
Yash Tibrewal 6f05a711e6 Adding a test 2018-10-16 14:10:17 -07:00
Mark D. Roth 9e0c210f7c Merge remote-tracking branch 'upstream/master' into health_checking_service 2018-10-16 12:12:44 -07:00
Yang Gao 191766c0f2
Merge pull request #16766 from gfecher/master
grpc_cli json support
2018-10-16 09:12:58 -07:00
Feso 00bb2a035e Reformatted code as per clang-format 2018-10-16 00:14:09 +01:00
Mark D. Roth f4e65787b6 Merge remote-tracking branch 'upstream/master' into health_checking_service 2018-10-15 13:12:26 -07:00
Jan Tattermusch 9de25dc1e6
Revert "Add c++ google default creds to cloud to prod auth scenarios" 2018-10-15 12:19:50 +02:00
Feso 29c131f790 Refactored based on code review 2018-10-13 19:17:26 +01:00
Moiz Haidry 2478ea4289
Merge pull request #16807 from mhaidrygoog/callback_unary_benchmark
Benchmark test for unary callback based RPCs in gRPC
2018-10-12 10:17:24 -07:00
apolcyn e36c14fb61
Merge pull request #16841 from apolcyn/add_cpp_gcd_to_cloud_to_prod_auth
Add c++ google default creds to cloud to prod auth scenarios
2018-10-11 16:55:21 -07:00
Hope Casey-Allen 12925d6fc8 Move check closer to relevant code 2018-10-11 14:38:26 -07:00
Hope Casey-Allen 3ed3c8c071 Add metadata streaming tests 2018-10-11 14:24:17 -07:00
Alexander Polcyn aea5f109a6 Add c++ google default creds to cloud to prod auth scenarios 2018-10-11 13:53:54 -07:00
Moiz Haidry 145a3bf91f Code sanitization 2018-10-10 16:15:51 -07:00
Moiz Haidry 14acde64cc Addressed Vijay's code review comments 2018-10-10 15:10:05 -07:00
ncteisen 0b0f21b3d2 C++ Channelz GetServerSockets Support 2018-10-09 12:07:13 -07:00
Moiz Haidry b4d5c7cee4 Benchmark test for callback unary gRPC
Every thread intitiates multiple RPCs. The Callback of the unary RPC then issues a new RPC and this goes until the benchmark shuts down. For shutdown the main thread waits on a conditional variable. After shutdown the callbacks increment a rpcs done variable and once the the rpcs done equate the the total number of outstanding rpcs, the last callback performing the increment operation also issues a signal to wake up the main thread. The mainthread process to join the other threads and perform cleanup
2018-10-08 12:24:03 -07:00
ncteisen 5de6e2533d Merge branch 'master' of https://github.com/grpc/grpc into channelz-server-sockets 2018-10-05 12:20:09 -07:00
ncteisen f53e6884b6 Fix two build breakages 2018-10-04 22:05:27 -07:00
ncteisen 867192e29e Merge branch 'master' of https://github.com/grpc/grpc into channel-trace-size 2018-10-04 16:06:19 -07:00
ncteisen e35f24da4d reviewer feedback 2018-10-04 15:25:49 -07:00
Feso d74162f83a Merge remote-tracking branch 'upstream/master' 2018-10-04 21:31:14 +01:00
Spencer Fang e6b1edf42a Split grpc_cli target into two targets
Let's have a util target that contains everything except for the CLI
front end. This way, users can depend on the util classes without
any risk of CLI flag collisions.
2018-10-04 12:00:28 -07:00
Yang Gao 2e43da886c
Merge pull request #16742 from Capstan/cli-call-creds
Fix inverted logic for --call_creds=none.
2018-10-03 11:12:00 -07:00
Yash Tibrewal c3c40f8ec7
Merge pull request #16716 from yashykt/interceptors_initial
Create interfaces and initial plumbing for interception API
2018-10-03 09:27:15 -07:00
ncteisen a64cb54de1 Channel trace is limited by memory 2018-10-02 17:33:07 -07:00
Feso 44cecbb2f7 grpc_cli json support 2018-10-03 00:50:57 +01:00
Yash Tibrewal 130eeeaeb9 Merge branch 'master' into interceptors_initial 2018-10-02 14:49:17 -07:00
Guantao Liu 18ba787392 Fix the unused result error in client_channel_stress_test.cc. 2018-10-01 18:21:23 -07:00
Nathan Herring d55ef6cc03 Fix inverted logic for --call_creds=none.
Fixes #16622. Follow up to change 6e3938c. Thanks to @bluecmd for pointing it out.
2018-10-01 10:13:04 +02:00
Hope Casey-Allen d568fba51a Add documentation for running microbenchmarks with other tooling 2018-09-28 14:36:13 -07:00
ncteisen 038e760a7d Channelz C++ Socket support 2018-09-27 14:20:57 -05:00
ncteisen 404b2515af reviewer feedback 2018-09-27 11:18:42 -05:00
ncteisen f2b493e369 reviewer feedback 2018-09-27 10:38:37 -05:00
ncteisen 4cc16f951c Simplifiy transport querying function 2018-09-27 09:45:59 -05:00
Yash Tibrewal a1598c5abf Create interfaces and initial plumbing for interception API 2018-09-26 19:25:30 -07:00
Mark D. Roth be1ce0c4cc Revert "Merge pull request #16600 from grpc/revert-16574-health_checking_service"
This reverts commit de11358660, reversing
changes made to 107d10ea73.
2018-09-25 11:42:57 -07:00
Gleb Popov 39eb19ed35 Fix various tests on FreeBSD. 2018-09-22 22:41:39 +03:00
Vijay Pai 9134639877 Warn on non-virtual destructor if class has virtual functions 2018-09-20 18:09:27 -07:00
Vijay Pai 3ee2919623
Merge pull request #16646 from vjpai/callback_codegen_client_unary
EXPERIMENTAL: Codegen for callback client unary calls
2018-09-20 16:35:33 -07:00
hcaseyal 07308653a8
Merge pull request #16629 from hcaseyal/fix_hpack_microbenchmarks
Add benchmarks for on_initial_header
2018-09-20 14:56:50 -07:00
Vijay Pai da1b75b5d5 Add a virtual destructor to the new class with virtual methods 2018-09-20 13:30:20 -07:00
Hope Casey-Allen 4c6e7ce15d Destroy metadata buffer at end of benchmark loop 2018-09-20 12:56:56 -07:00
Hope Casey-Allen d44feec92f Reassign arena pointer instead of stomping on memory 2018-09-20 09:54:59 -07:00
Hope Casey-Allen 4b721fbde0 Destroy arena at end of benchmark to not leak memory 2018-09-19 20:51:45 -07:00
Hope Casey-Allen 29d9489ea9 Increase initial arena size to be more representative of real workload scenario and increase frequency of recreating the arena to avoid oom 2018-09-19 20:46:17 -07:00
Hope Casey-Allen 91727bd015 Move arena create outside of benchmark, format, and typo fix 2018-09-19 19:13:23 -07:00
Juanli Shen 974d66f94f Fix tag variable 2018-09-19 17:28:41 -07:00
Vijay Pai 830e5ad5df Merge branch 'master' into callback_codegen_client_unary 2018-09-19 17:03:00 -07:00
Vijay Pai f6e7b778c4
Merge pull request #16655 from vjpai/callback_tidy
Callback API: Fix clang-tidy concerns
2018-09-19 12:58:02 -07:00
Juanli Shen a0578f075c
Merge pull request #16651 from AspirinSJL/improve_force_creation
Change force_creation from atm to bool
2018-09-19 12:55:11 -07:00
Vijay Pai 46429a2a6a
Merge pull request #16624 from vjpai/callback_alarms
EXPERIMENTAL: Add callback-based alarms
2018-09-19 12:06:11 -07:00
Vijay Pai deb3126611 Fix clang-tidy concerns 2018-09-19 11:29:11 -07:00
Juanli Shen dd10cbc554 Change force_creation from atm to bool 2018-09-19 10:28:39 -07:00
Vijay Pai 845bc9ae21 Add more test cases 2018-09-18 16:48:46 -07:00
Vijay Pai 47ae48e20c Fix conflict 2018-09-18 12:10:33 -07:00
Vijay Pai a1e87be377 Merge branch 'master' into callback_codegen_client_unary 2018-09-18 12:09:02 -07:00
Vijay Pai 42a0ed43cb Add a test 2018-09-18 12:04:31 -07:00
Vijay Pai 0e5b2a7946
Merge pull request #16638 from vjpai/callback_exceptions
EXPERIMENTAL: Catch exceptions in user callbacks
2018-09-18 11:09:11 -07:00
Vijay Pai c5afb25905 fix golden file 2018-09-18 09:57:17 -07:00
Noah Eisen c33ec79cd8 Only output stats if they were collected 2018-09-17 15:15:05 -07:00
Vijay Pai 73d89a66f9 Catch exceptions in user callbacks 2018-09-14 16:56:19 -07:00
Hope Casey-Allen 967bbcd5d3 Fixing benchmark name and adding a new one 2018-09-13 18:38:01 -07:00
Vijay Pai db01bf793a Add callback-based alarms 2018-09-13 09:54:41 -07:00
Yang Gao 8bce2a643b
Merge pull request #16299 from Capstan/cli-client-cert
Add flags to use client certs for cli.
2018-09-13 08:39:50 -07:00
adelez 20345b21bb
Merge pull request #16611 from adelez/long_conn
Added long_connection test.
2018-09-12 16:08:31 -07:00
Adele Zhou 165417e4fa Change the test name to long_lived_channel 2018-09-12 14:30:02 -07:00
Adele Zhou 094dc6822c Added long_connection test. 2018-09-12 11:37:50 -07:00
Vijay Pai 3bc10c0f44
Merge pull request #16492 from vjpai/client_callback
EXPERIMENTAL: C++  generic client-side unary callback API
2018-09-12 09:03:49 -07:00
apolcyn b13097de54
Merge pull request #16420 from apolcyn/localhost_windows_hack
When using c-ares, resolve ip literals and Windows localhost on our own
2018-09-11 15:56:44 -07:00
Alexander Polcyn 964d679edc Resolve ip literals and Windows localhost manually when using c-ares 2018-09-11 13:17:24 -07:00
Noah Eisen 71aa60265c
Merge pull request #16360 from ncteisen/channelz-cpp-server
Channelz++ Part 3: GetServers Support
2018-09-11 12:01:17 -07:00
Nathan Herring 916a686ef3 Revert "Use grpc_slice_unref_internal"
This reverts commit 147826a909.
2018-09-11 09:32:06 +02:00
Nathan Herring 2d8c682cac Revert "Missing #include"
This reverts commit 234fdc6fbf.
2018-09-11 09:31:39 +02:00
Mark D. Roth 42d9becd91
Revert "Second attempt: Implement Watch method in health check service." 2018-09-10 14:06:52 -07:00
ncteisen 6ef3b0dc2b Merge branch 'master' of https://github.com/grpc/grpc into channelz-cpp-server 2018-09-10 14:03:40 -07:00
ncteisen 722bc69966 Merge branch 'master' of https://github.com/grpc/grpc into channelz-server 2018-09-10 12:28:21 -07:00
ncteisen ef1a390d1d Merge branch 'master' of https://github.com/grpc/grpc into channelz-server 2018-09-10 11:19:53 -07:00
ncteisen ccf6aca611 Merge branch 'master' of https://github.com/grpc/grpc into channelz-cpp 2018-09-10 11:13:27 -07:00
Noah Eisen 2edfddb66f
Merge pull request #16055 from ncteisen/channelz-subchannels
Channelz Part 4: Add Subchannel Support
2018-09-10 11:12:52 -07:00
Nathan Herring 0cf90ae506
Merge branch 'master' into cli-client-cert 2018-09-10 10:54:30 +02:00
Yang Gao 179b4e81a0
Merge pull request #16297 from Capstan/cli-call-creds
Create a --call_creds flag for grpc_cli.
2018-09-09 23:20:48 -07:00
ncteisen 483537671c Merge branch 'channelz-subchannels' into channelz-cpp 2018-09-08 10:20:00 -07:00
ncteisen 5946ae5eff Merge branch 'channelz-subchannels' into channelz-server 2018-09-08 10:19:26 -07:00
ncteisen 2f76fd452e Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels 2018-09-08 10:15:51 -07:00
ncteisen 4205b97dd9 reviewer feedback 2018-09-07 16:02:08 -07:00
Mark D. Roth a8247c833c
Merge pull request #16574 from markdroth/health_checking_service
Second attempt: Implement Watch method in health check service.
2018-09-07 11:53:16 -07:00
Bill Feng b7bbc350b8 naming bugfix 2018-09-06 14:33:32 -07:00
Bill Feng 3fb62ae92c exclude less tests from qps 2018-09-06 13:41:02 -07:00
Mark D. Roth 6d2c8f8072 Revert "Merge pull request #16512 from grpc/revert-16351-health_checking_service"
This reverts commit 4ee0f4c790, reversing
changes made to 5ee9b5e7b5.
2018-09-05 10:27:54 -07:00
Noah Eisen 99680244c4
Merge pull request #16209 from ncteisen/bugprone-undefined-memory-manipulation
Clang Tidy: Bugprone Undefined Memory Manipulation
2018-08-31 10:07:25 -07:00
Vijay Pai ccddc1bd17 Initialize bool 2018-08-30 15:46:27 -07:00
Vijay Pai 8bf52535d1 Provide a generic client-side unary callback API 2018-08-30 15:46:27 -07:00
Bill Feng c4a5323362 fixed a bug in json_run_localhost scenario generation 2018-08-30 15:22:08 -07:00
Juanli Shen 4230aa4855
Merge pull request #16509 from AspirinSJL/add_docstring
Fix internal format issue
2018-08-30 14:21:28 -07:00
Juanli Shen 9d143dd3b9 Fix internal format issue 2018-08-30 13:31:02 -07:00
Juanli Shen 14a858123d
Revert "Implement Watch method in health check service." 2018-08-29 21:36:41 -07:00
ncteisen f8a4aae119 Fix all instances of bugprone-undefined-memory-manipulation 2018-08-29 14:24:02 -07:00
Bill Feng ceecf80283
Merge pull request #16402 from billfeng327/feature/qps-bazel-test
added qps tests on bazel
2018-08-28 20:18:21 -07:00
ncteisen f1931ef624 Merge branch 'channelz-cpp' into channelz-cpp-server 2018-08-28 17:20:50 -07:00
ncteisen 72ac3d0cb1 Merge branch 'channelz-server' into channelz-cpp-server 2018-08-28 17:17:16 -07:00
ncteisen e165579d3e Subchannel support to C++ 2018-08-28 17:16:17 -07:00
ncteisen 6076b1d798 Merge branch 'channelz-subchannels' into channelz-server 2018-08-28 12:55:40 -07:00
ncteisen 4b5b019d56 Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels 2018-08-28 12:53:57 -07:00
Bill Feng 918427237c fixed indentation 2018-08-28 12:03:38 -07:00
Mark D. Roth 4d985efe19
Merge pull request #16351 from markdroth/health_checking_service
Implement Watch method in health check service.
2018-08-28 11:59:22 -07:00
Mark D. Roth 99ce3e19af Implement Watch method in health check service. 2018-08-28 08:51:52 -07:00
Bill Feng 0ce7f91d9e used names instead of numbers for each scenario 2018-08-27 16:10:25 -07:00
Bill Feng 21824afb09 used alternative approach - generated bazel scenarios 2018-08-27 15:30:52 -07:00
Yash Tibrewal 8d47cd4992
Revert "Revert "Fathom tcp changes"" 2018-08-27 14:56:01 -07:00
Mark D. Roth a144c13201
Merge pull request #16342 from markdroth/pf_keep_unselected_subchannels
Change pick_first to not unref unselected subchannels.
2018-08-27 14:27:12 -07:00
Bill Feng 654a1ea0f6 made timeout longer 2018-08-27 10:52:17 -07:00
Bill Feng 5fb6603ad5 Merge remote-tracking branch 'upstream/master' into feature/qps-bazel-test 2018-08-27 10:32:50 -07:00
Jan Tattermusch 97ba943f17
Revert "Fathom tcp changes" 2018-08-27 12:43:20 +02:00
Hope Casey-Allen e360d82216 Clang tidy 2018-08-25 19:31:00 -07:00
Hope Casey-Allen 839a0520a2 Add an option to collect medians every epoch. Useful for gathering per second median latencies 2018-08-25 18:33:11 -07:00
Bill Feng 06d5c830aa Merge remote-tracking branch 'upstream/master' into feature/qps-bazel-test 2018-08-24 14:49:36 -07:00
Yash Tibrewal aab47cbdf2
Merge pull request #15941 from yashykt/fathomtcpchanges
Fathom tcp changes
2018-08-24 12:27:56 -07:00
Bill Feng 5be7304b06 used standalone JSON files for scenarios 2018-08-24 09:46:39 -07:00
Nathan Herring 234fdc6fbf Missing #include 2018-08-21 23:28:45 +02:00
Nathan Herring 147826a909 Use grpc_slice_unref_internal 2018-08-21 23:16:22 +02:00
Mark D. Roth 4312d1217e clang-format 2018-08-20 13:10:22 -07:00
Mark D. Roth 4eceb65aaa Merge remote-tracking branch 'upstream/master' into pf_keep_unselected_subchannels 2018-08-20 12:24:56 -07:00
Bill Feng 373c5b31db added qps tests on bazel 2018-08-20 10:55:49 -07:00
Juanli Shen 25f7d0f6f4 Revert to TRANSIENT_FAILURE during backoff 2018-08-17 13:25:15 -07:00
Mark D. Roth aad7884233 Code review changes. 2018-08-17 11:24:54 -07:00
Mark D. Roth e9e92d443c Merge remote-tracking branch 'juanlishen/pf_check_state_before_watch' into pf_keep_unselected_subchannels 2018-08-17 08:11:10 -07:00
Mark D. Roth 4d6f002780 Code review changes and fix threading bug in test. 2018-08-17 08:09:32 -07:00
Juanli Shen d19fd1c689 PF: Check connectivity state before watching 2018-08-16 17:54:27 -07:00
Yang Gao 7e4be89014
Merge pull request #16368 from grpc/revert-16214-order_order_please
Revert "Add more filter priority levels"
2018-08-16 10:54:16 -07:00
Yang Gao b840d5e45c
Revert "Add more filter priority levels" 2018-08-16 08:58:26 -07:00
Josh Haberman 8a80364a9f Cleaned up BUILD file, which fixed a dependency problem with protobuf. 2018-08-16 06:50:10 -07:00
Vijay Pai 8a86f5329e
Merge pull request #16356 from vjpai/exhaustion
C++ sync server: Return status RESOURCE_EXHAUSTED if no thread quota available
2018-08-15 19:52:23 -07:00
Vijay Pai 16f738359d Make sure that we actually saw some resource exhaustion if applicable 2018-08-15 16:30:59 -07:00
David Garcia Quintas d08ea3025b Fixed ordering in adding pending picks to PF 2018-08-15 13:43:15 -07:00
ncteisen 70ef911343 Add C++ support for GetServers 2018-08-15 12:05:58 -07:00
ncteisen 408f64c3a1 Merge branch 'channelz-server' into channelz-cpp-server 2018-08-15 11:11:57 -07:00
ncteisen f3c600f335 Fix up C++ test to be more stable 2018-08-15 10:56:32 -07:00
ncteisen 3aa987a29a Add channelz server support 2018-08-14 17:26:40 -07:00
Vijay Pai 14ad82a76d Create a new method handler for resource exhaustion and tie into thread mgr 2018-08-14 16:23:21 -07:00
Vijay Pai 17a6bf65b7
Merge pull request #16298 from vjpai/custom_poller
Infrastructure for registering custom polling engines
2018-08-14 10:00:48 -07:00
Vijay Pai a4326eb7b8 Add comment to address reviewer comment 2018-08-13 23:01:23 -07:00
ncteisen 0bf39e2a13 Subchannel support to C++ 2018-08-13 13:56:36 -07:00
Yash Tibrewal 556775d7c7 Merge master 2018-08-13 10:53:06 -07:00
Sree Kuchibhotla 716857e216 Merge branch 'master' into rq-threads-2 2018-08-13 10:39:43 -07:00
Mark D. Roth f6dea9ec6a Add another test. 2018-08-13 10:33:28 -07:00
Mark D. Roth 4e1e6ceda9 Fix pick_first to not throw away unused subchannels. 2018-08-13 09:44:53 -07:00
ncteisen c850354423 Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels 2018-08-11 21:19:14 -04:00
Vijay Pai a0e92e7727 Add proper synchronization so that stats are setup and destroyed cleanly 2018-08-10 15:48:48 -07:00
Juanli Shen 186df431de As per review 2018-08-10 15:00:16 -07:00
Yihua Zhang f621eee4cf run cloud-to-prod interop tests with google default credentials 2018-08-10 11:31:15 -07:00
Vijay Pai 9043a4f56d Some cleanup 2018-08-10 06:11:40 +00:00
Juanli Shen 9b72650125 PF: Check connectivity state before watching 2018-08-09 21:54:11 -07:00
Vijay Pai 17e3611c0d Infrastructure for adding custom polling engines 2018-08-09 12:39:30 -07:00
Sree Kuchibhotla f63b51be86 Merge branch 'master' into rq-threads-2 2018-08-09 12:13:41 -07:00
Nathan Herring c173b196d6 Add flags to use client certs for cli.
This allows `grpc_cli` to act with the specific client identity when using SSL. It does _not_ however set the cert when using Google Default Credentials, as it does not have the necessary options to provide a client cert and key.
2018-08-09 11:29:05 -05:00
Nathan Herring 6e3938c829 This replaces mutually-exclusive flags for a single selector flag which defines the call credentials to composite over any channel credentials. It is the call credentials version of #16204.
Fixes issue #16205.
2018-08-09 11:11:37 -05:00
Alex Polcyn 5cd8b1eb81 Enable c-ares queries on Windows 2018-08-08 15:21:26 -07:00
Yang Gao 3954cf945d
Merge pull request #16204 from Capstan/cli-channel
Create a --channel_creds_type flag for grpc_cli.
2018-08-07 17:21:26 -07:00
Nathan Herring e1a0f235e1 Shorten flag value to gdc. 2018-08-07 15:27:40 -07:00
Nathan Herring 3b2b237b3b Make `google_default_credentials` be an additional channel type. 2018-08-07 09:22:33 -07:00
Mark D. Roth 60069baa6a
Merge pull request #16225 from markdroth/reset_connection_backoff
Reset connection backoff
2018-08-07 08:09:59 -07:00
Yang Gao be49852233
Merge pull request #16214 from yang-g/order_order_please
Add more filter priority levels
2018-08-06 23:50:18 -07:00
Juanli Shen 10d129476a Use param 2018-08-06 15:56:19 -07:00
Mark D. Roth f7e72560b6 Add experimental API for resetting connection backoff. 2018-08-06 14:46:53 -07:00
ncteisen 6dfc4dd49a Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels 2018-08-02 17:25:09 -07:00
Sree Kuchibhotla bdd13cb0ae
Revert "Revert "Restrict the number of threads in C++ sync server"" 2018-08-01 11:22:40 -07:00
yang-g d6ef707422 Add more filter priority levels 2018-08-01 11:22:32 -07:00
Nathan Herring 9ddb23442b Clang format. 2018-08-01 13:08:03 +02:00
Nathan Herring ab8b628b31 Create a --channel_creds_type flag for grpc_cli.
This replaces several mutually-exclusive flags for a single selector flag which defines
the base channel type. It also allows child classes to selectively override the defaults
and provide additional channel types (e.g., LOAS in the mono repo).

Fixes issue #16060.
2018-08-01 12:41:37 +02:00
Nicolas Noble bea98c3c1b
Revert "Restrict the number of threads in C++ sync server" 2018-07-31 21:12:45 -07:00
Sree Kuchibhotla 2ef6a3302c Merge branch 'master' into rq-threads 2018-07-31 10:16:13 -07:00
Yang Gao fc3caf820e
Merge pull request #16066 from Capstan/cli-tls
Introduce --ssl_target flag to grpc_cli.
2018-07-30 14:16:29 -07:00
Sree Kuchibhotla 9b84d7fe21 Merge branch 'master' into rq-threads 2018-07-30 10:09:47 -07:00
Sree Kuchibhotla c2a22a1ab8 Address core review comments 2018-07-27 16:19:03 -07:00
ncteisen 1f533d2ae5 Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels 2018-07-27 02:11:02 -07:00
Alexander Polcyn 9896c64186 Revert "Merge pull request #16158 from apolcyn/revert_windows_breakage"
This reverts commit d9e8f86675, reversing
changes made to 04847aeb1e.
2018-07-27 01:38:26 -07:00
apolcyn d9e8f86675
Merge pull request #16158 from apolcyn/revert_windows_breakage
Revert "Merge pull request #15797 from apolcyn/windows_compile_and_sort"
2018-07-26 16:46:04 -07:00
Alexander Polcyn f34c653936 Revert "Merge pull request #15797 from apolcyn/windows_compile_and_sort"
This reverts commit ae8d3efc3a, reversing
changes made to e41215e181.
2018-07-26 14:32:07 -07:00
Alexander Polcyn a2160f547f Wait a configurable amount of time for benchmark channels to become ready 2018-07-26 10:45:12 -07:00
apolcyn ae8d3efc3a
Merge pull request #15797 from apolcyn/windows_compile_and_sort
Enable c-ares address sorting on windows
2018-07-25 16:59:57 -07:00
Alex Polcyn 1b1d5e52e7 Get c-ares to compile and do address sorting on windows 2018-07-25 13:21:43 -07:00
Sree Kuchibhotla f669dbcfea Merge branch 'master' into rq-threads 2018-07-25 10:36:07 -07:00
Juanli Shen 6a2fbcb4d2
Merge pull request #16076 from AspirinSJL/fix_rere
Fix re-resolution in pick first
2018-07-25 09:21:49 -07:00
Juanli Shen b0e41f6c7d Fix re-resolution in pick_first 2018-07-24 20:54:48 -07:00
Sree Kuchibhotla 404d4f3a4d Merge branch 'master' into rq-threads 2018-07-24 16:37:42 -07:00
Sree Kuchibhotla b95772eeb9 Add Tests in Core and C++ and fix a few related bugs in thread_manager.cc 2018-07-24 16:35:25 -07:00
Alexander Polcyn ef29e14e13 Use test credentials provider for QPS benchmarking reporter client 2018-07-24 14:44:47 -07:00
apolcyn 25d2018029
Merge pull request #16092 from apolcyn/customizable_qps_server_builder
Provide a global way to customize QPS server builder options
2018-07-23 12:59:13 -07:00
Sree Kuchibhotla 7b8be4d6fd Merge branch 'master' into rq-threads 2018-07-23 10:52:27 -07:00
Alex Polcyn 92e0a70ec6 Make QPS server builder customizeabled 2018-07-23 17:16:13 +00:00
Juanli Shen a9bfe94d10 Relax qps/eps error in load reporter test 2018-07-22 16:36:13 -07:00
Nathan Herring 0fee91e002 More clang format 2018-07-21 08:21:18 +02:00
Sree Kuchibhotla ec1c112cc1 Each ThreadManager is a resource user 2018-07-20 15:10:16 -07:00
ncteisen a9cde770ff Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels 2018-07-20 14:26:10 -07:00
ncteisen 18a9d7d57c reviewer feedback 2018-07-20 09:29:05 -07:00
Nathan Herring 6f1604b1eb Fixup: Use a more exact logic for google default credentials. 2018-07-20 15:23:04 +02:00
ncteisen b47214952b reviewer feedback 2018-07-19 15:19:43 -07:00
ncteisen 6104e4f33b Move ChannelzServicePlugin to public, experimental 2018-07-19 14:59:10 -07:00
Nathan Herring adb8581456 clang format 2018-07-19 23:49:02 +02:00
Nathan Herring c7fae8812f clang tidy 2018-07-19 23:45:46 +02:00
Nathan Herring e1d94dfe60 GoogleDefaultCredentials use SSL under the covers; include that case. 2018-07-19 21:32:11 +02:00
ncteisen 9620118390 Remove blank line 2018-07-19 11:24:04 -07:00
Nathan Herring 8c7ce557f8 Add simple test for --ssl_target.
This cribs from test_credentials_provider.cc, but without using `grpc::ChannelArguments`, as the grpc CLI is responsible for setting that according to the flag.
2018-07-19 18:37:51 +02:00
Nathan Herring 3ed81c8d65 Introduce --ssl_target flag to grpc_cli.
This allows the client to specify the host name of the remote server for the purposes of TLS certificate validation, useful for test certificates and machines with ephemeral IP
addresses with no associated DNS entries that have been assigned TLS certificates.
2018-07-19 18:30:27 +02:00
ncteisen bbee13661c Add channelz subchannel support 2018-07-19 08:15:49 -07:00
ncteisen c194528844 Adds C++ Channelz Service 2018-07-18 18:24:19 -07:00
ncteisen b86a744751 Expose GetChannel and GetTopChannels Core API 2018-07-18 15:03:31 -07:00
Noah Eisen 2d5e0f1e72
Merge pull request #16044 from ncteisen/interop-soak-test
Add Two New Soak Interop Tests
2018-07-18 11:43:52 -07:00
ncteisen f87b9551c2 Merge branch 'master' of https://github.com/grpc/grpc into channelz-get-top-channels 2018-07-18 07:45:59 -07:00
ncteisen 12f1cc059b Reviewer feedback 2018-07-18 07:33:08 -07:00
ncteisen b6597b4fbd Add two new soak interop tests 2018-07-17 17:12:26 -07:00
ncteisen 97066fd0e4 Support for GetTopChannels 2018-07-16 23:29:29 -07:00
Yash Tibrewal f0397933b0 Fathom TCP level changes. TracedBuffer for keeping track of all buffers
to be traced. Adding tests for Fathom and TracedBuffer. A lot more.
Please read PR description.
2018-07-16 16:28:15 -07:00
apolcyn 5fec6640e0
Merge pull request #16024 from apolcyn/gcd_interop
Allow choosing google default credentials in the C++ interop clients
2018-07-16 11:43:04 -07:00
Juanli Shen be40b0d3a8 Add server load reporting service 2018-07-13 19:52:59 -07:00
Alexander Polcyn f3c3c55fad Allow choosing google default credentials in the C++ interop clients 2018-07-13 18:23:14 -07:00
Adele Zhou 8edd56841e Step 3 of multipool RBE configuration. 2018-07-13 10:46:41 -07:00
David Garcia Quintas 8427571d06 fix test comment and small code tweak 2018-07-10 18:52:01 -07:00
David Garcia Quintas 50409fea27 Simplified the test significantly. No more threads 2018-07-10 16:10:28 -07:00
David Garcia Quintas 30d39c4738 Clarify new test comment 2018-07-10 15:40:02 -07:00
David Garcia Quintas e41cae3081 Added TODO 2018-07-10 13:39:45 -07:00
David Garcia Quintas d1deaad1be Added test 2018-07-09 20:09:18 -07:00
ncteisen 7d474811ab Reviewer feedback 2018-06-29 14:59:59 -07:00
ncteisen a0a59537d2 s/CodegenGeneric/Raw/g 2018-06-28 18:52:01 -07:00
ncteisen 8db7788d46 Merge branch 'master' of https://github.com/grpc/grpc into serialization 2018-06-28 00:12:02 -07:00
apolcyn 0a6fdb20b4
Merge pull request #15828 from apolcyn/fix_gcd
Explicitly delete c-ares fd's from pollset set after c-ares is done
2018-06-26 15:56:41 -07:00
Alexander Polcyn 0220a998db Explicitly delete fd from pollset set after c-ares is done 2018-06-26 10:09:46 -07:00
Juanli Shen f5f1d57d7a Add load reporting filter 2018-06-22 10:00:48 -07:00
Noah Eisen 7a2a8ca4ba
Merge pull request #15747 from ncteisen/channel-benchmark
Add Channel Creation Benchmark
2018-06-21 17:37:39 -07:00
Juanli Shen 291bbc7014 Add load reporter 2018-06-21 13:21:02 -07:00
ncteisen 77472309d5 Add channel creation benchmark 2018-06-21 10:30:49 -07:00
ncteisen d170b83e0d Allow AsyncServer with one generic to compile 2018-06-20 07:59:05 -07:00
ncteisen a6194db176 Add codegen generic to hybrid tests 2018-06-20 07:59:05 -07:00
ncteisen bacd625d37 Add end2end test for codegen_generic 2018-06-20 07:59:05 -07:00
ncteisen 93a90e6132 Support codegen generic on server side 2018-06-20 07:59:05 -07:00
ncteisen 68d4f50f77 Merge branch 'master' of https://github.com/grpc/grpc into channelz 2018-06-19 14:00:52 -07:00
Mark D. Roth 547bb5e66f
Merge pull request #15782 from markdroth/recv_trailing_metadata_ready3
Third attempt: move recv_trailing_metadata into its own callback, don't use on_complete for recv_ops
2018-06-19 07:40:31 -07:00
Jim King 01cbab60f3
Merge pull request #15070 from Vizerai/filter_port
Adding opencensus grpc plugin with bazel support.
2018-06-18 17:01:26 -07:00
adelez 5bdd9a8cb9
Revert "Revert "Add suppressions to sanitizers for bazel builds"" 2018-06-15 16:31:21 -07:00
ncteisen c14e95fc63 Merge branch 'master' of https://github.com/grpc/grpc into channelz 2018-06-15 11:13:46 -04:00
ncteisen 8e75b48bcd Add expception for util dir 2018-06-14 14:58:09 -04:00
Noah Eisen 373fc6dc40 Manual fixes to enable performance- clang tidy checks 2018-06-14 14:58:09 -04:00
Noah Eisen 58e0cbf9fb Enable the performance-* clang-tidy checks 2018-06-14 14:58:09 -04:00
Nicolas Noble 43557fee0b
Revert "Add suppressions to sanitizers for bazel builds" 2018-06-14 10:49:11 -07:00
Mark D. Roth 817d28fed6 Revert "Merge pull request #15746 from grpc/revert-15709-recv_trailing_metadata_ready2"
This reverts commit 3f9308ce1f, reversing
changes made to 92a0ae0b10.
2018-06-14 09:44:58 -07:00
ncteisen f92460e539 Merge branch 'master' of https://github.com/grpc/grpc into channelz 2018-06-13 23:00:07 -07:00
Adele Zhou 4cd659505c Add data param to grpc_cc_library 2018-06-13 15:36:28 -07:00
apolcyn eb10abe94a
Merge pull request #15648 from apolcyn/remove_fd_shutdown_already_closed
Remove already_closed param from fd_orphan
2018-06-12 14:06:33 -07:00
apolcyn 87a63e0e8a
Merge pull request #15691 from apolcyn/roll_forward_fix_shutdown_closed_socket
Revert "Revert "Fix shutdown of closed fd when c-ares opens a second fd""
2018-06-12 11:50:53 -07:00
Yash Tibrewal dddf207932 Merge branch 'master' into epollerr 2018-06-11 16:33:15 -07:00
apolcyn 96e10741b8
Merge pull request #15708 from apolcyn/revert_fix_cares_test_on_ipv6_only
Revert "Fix c-ares tests ipv6-only brokenness"
2018-06-11 12:56:44 -07:00
Alexander Polcyn 50a7213929 Revert "Fix c-ares tests ipv6-only brokenness"
This reverts commit 27718ce64d.
2018-06-11 11:35:32 -07:00
Mark D. Roth fdb72b0bf8
Merge pull request #15690 from grpc/revert-15539-recv_trailing_metadata_ready
Revert "move recv_trailing_metadata into its own callback, don't use on_complete for recv_ops"
2018-06-08 17:31:35 -07:00
Yang Gao ab8642d888
Merge pull request #15121 from yang-g/empty_string
handle empty slice explicitly
2018-06-08 14:51:39 -07:00
Mark D. Roth f371513445
Revert "move recv_trailing_metadata into its own callback, don't use on_complete for recv_ops" 2018-06-08 14:22:12 -07:00
Alexander Polcyn d6be87b0c1 Fix previously-encountered issue: set so_reuseaddr on dummy sockets 2018-06-08 14:20:15 -07:00
Alexander Polcyn d2e357b10d Revert "Merge pull request #15685 from grpc/revert-15435-fix_shutdown_closed_socket"
This reverts commit 8b5e45a35b, reversing
changes made to 2ea5e1d1de.
2018-06-08 14:19:46 -07:00
yang-g 5c67fae9eb Add test 2018-06-08 11:53:31 -07:00
Mark D. Roth 5fd74922ff
Merge pull request #15539 from markdroth/recv_trailing_metadata_ready
move recv_trailing_metadata into its own callback, don't use on_complete for recv_ops
2018-06-08 11:47:08 -07:00
Yang Gao 045e4f9889
Merge pull request #13796 from y-zeng/cli_token
Report more error messages in grpc_cli
2018-06-08 11:41:01 -07:00
Mark D. Roth 8ae0ff0af2 Move recv_trailing_metadata into its own callback. Don't use
on_complete for recv_ops.
2018-06-08 08:37:23 -07:00
Jan Tattermusch 61278f3aa7
Revert "Fix shutdown of closed fd when c-ares opens a second fd" 2018-06-08 11:11:59 +02:00
apolcyn 0e8b122f7f
Merge pull request #14649 from apolcyn/fix_cares_test_on_ipv6_only
Address comments on #14610, fix c-ares tests on ipv6-only hosts
2018-06-07 16:40:34 -07:00
Alexander Polcyn 4e8a2f5f27 Remove already_closed param from fd_orphan 2018-06-07 15:27:05 -07:00
apolcyn 701a4b1c32
Merge pull request #15435 from apolcyn/fix_shutdown_closed_socket
Fix shutdown of closed fd when c-ares opens a second fd
2018-06-07 15:15:49 -07:00
Alexander Polcyn 27718ce64d Fix c-ares tests ipv6-only brokenness 2018-06-06 13:55:13 -07:00
Mark D. Roth 420db80e73 Increase client load reporting interval to avoid test flake. 2018-06-06 10:23:15 -07:00
ncteisen 9a1bb05181 Build out the channelz unit test 2018-06-05 16:59:25 -07:00
ncteisen c3c6e064b3 Add basic support for GetChannel 2018-06-05 16:59:25 -07:00
ncteisen b69f1f6aac Update channelz proto 2018-06-05 16:59:25 -07:00
Alexander Polcyn 96dbfe1664 Fix shutdown of closed fd when c-ares opens a second fd 2018-06-04 10:15:47 -07:00
Mark D. Roth ebb53843b6 Remove orphaned test. 2018-06-01 14:48:13 -07:00
Yash Tibrewal 905f0ca39e merge master 2018-05-31 19:47:30 -07:00
Vizerai e501a3d3fd Merge branch 'master' of https://github.com/Vizerai/grpc into filter_port 2018-05-29 10:45:32 -07:00
Alexander Polcyn 59d8f7317f Remove README 2018-05-25 12:49:54 -07:00
Alexander Polcyn fd1a6604ab Remove a test 2018-05-25 11:53:34 -07:00
Vizerai 8cd49c528d update 2018-05-25 11:40:51 -07:00
Noah Eisen e8157e662c remove unnecessary blank line 2018-05-24 17:48:27 -07:00
Noah Eisen 39a6bb6c3e Fix asan closure bug 2018-05-24 17:07:25 -07:00
Noah Eisen 628073d4c2
Merge pull request #15517 from ara-ayvazyan/fix_bytebuffer_copy_ctor
Fix broken ByteBuffer copy ctor
2018-05-24 13:20:29 -07:00
kpayson64 5883569eee
Merge pull request #15523 from kpayson64/client_lb_flake
Add more failure logging to client_lb_end2end_test
2018-05-23 11:10:07 -07:00
kpayson64 e169f20cd0 Add more failure logging to client_lb_end2end_test 2018-05-23 09:38:00 -07:00
Ara Ayvazyan 8d06d097bc Fix broken ByteBuffer copy ctor 2018-05-22 20:47:35 -07:00
Sree Kuchibhotla 4a7a39fab6
Merge pull request #14894 from sreecha/fix-time
Fix grpc_millis type (timers are broken on 32-bit systems otherwise)
2018-05-22 12:33:19 -07:00
Alexander Polcyn 550621c1b5 Make local DNS server tests more generic 2018-05-11 16:24:39 -07:00
Vizerai 95393cf530 Fixed opencensus benchmark to be compliant with grpc benchmarks. 2018-05-10 13:26:23 -07:00
Vizerai 41e4cedb70 Adding opencensus grpc plugin.
Rebasing to merge commits.
2018-05-10 11:41:15 -07:00
apolcyn eed1b6f45c
Merge pull request #15176 from apolcyn/convert_resolver_component_test_to_python
Convert c-ares test runner from bash to python, to support windows
2018-05-08 22:51:41 -07:00
apolcyn 57ed055f2f
Merge pull request #15283 from apolcyn/server_consume_socket_mutator
Consume socket mutators on posix servers
2018-05-08 21:04:36 -07:00
Alexander Polcyn ac8b72f75b Add a test that tcp server posix consumes socket mutators 2018-05-08 11:49:55 -07:00
Sree Kuchibhotla 6d5c2c250d Merge branch 'master' into fix-time 2018-05-08 10:24:30 -07:00
Juanli Shen 70eeade08e Fix bug in RunServer() 2018-05-08 10:22:50 -07:00
Jan Tattermusch add5840ec4 gcov: dont run large json_run_localhost scenarios 2018-05-08 11:55:47 +02:00
apolcyn aef957950a
Merge pull request #15270 from apolcyn/add_interop_server_buildopts
Add a way to set ServerBuilderOptions on C++ interop server
2018-05-04 17:15:20 -07:00
Alexander Polcyn 11c1739a10 Provide a way to run C++ interop server with custom ServerBuilderOptions 2018-05-03 23:01:43 -07:00
Alexander Polcyn 6f8f914f8d cleanup, and get rid of unnecessary timeouts in two places 2018-05-01 20:52:57 -07:00
Juanli Shen a0aab7ebcc Add load data store 2018-05-01 10:46:44 -07:00
apolcyn 4736804598
Merge pull request #15208 from apolcyn/fix_addr_sorting_compare_bug
Fix bug in an address sorting comparison
2018-04-30 17:55:12 -07:00
Noah Eisen b649422741
Merge pull request #15220 from ncteisen/microbenchmarks
Don't Use Benchmark Counters
2018-04-27 13:38:01 -07:00
ncteisen 771385789b Dont use benchmark counters 2018-04-27 10:53:16 -07:00
Alexander Polcyn 0d98c8d9f0 Fix a bug in an address sorting comparison 2018-04-26 20:51:56 -07:00
ncteisen 40ec89ff67 Support microbenchmarks internally 2018-04-25 17:41:23 -07:00
Alexander Polcyn 29fead7d49 Convert c-ares test runner from bash to python, so that it works on
windows
2018-04-24 16:24:43 -07:00
Yash Tibrewal adc733f024 Make linux polling engines capable of tracking errors separately with
backward compatibility.
2018-04-20 14:55:07 -07:00
Yihua Zhang 0dcbb83420 add alts to interop tests 2018-04-20 08:50:45 -07:00
apolcyn 0db9200f8c
Merge pull request #15123 from apolcyn/fix_addr_sort_shutdown_bug
Fix bug in address sorting shutdown
2018-04-19 15:51:32 -07:00
Alexander Polcyn 046ad6b13f Fix bug in addr sorting shutdonw 2018-04-19 10:20:20 -07:00
kpayson64 7a20c962df Break out qps services into seperate protos 2018-04-18 22:13:09 -07:00
Sree Kuchibhotla 94d9034673 Merge branch 'master' into fix-time 2018-04-18 10:18:34 -07:00
Sree Kuchibhotla 1dd12c084a Fix some more formatting issues 2018-04-16 12:09:37 -07:00
ncteisen 92c4e0fee0 Rename ProtoBuffer helpers 2018-04-12 17:19:54 -07:00
Nicolas Noble 6d3e7f7cd4
Merge pull request #13539 from grpc/AspirinSJL-patch-1
Fix comment in test UpdateBalancersDeadUpdate
2018-04-12 16:56:30 -07:00
Muxi Yan c92d90aba2 clang-format objective-c files 2018-04-11 18:10:02 -07:00
Yang Gao c2233789bb
Merge pull request #15008 from yang-g/secure_is_not_unsecure
Depend on unsecure target
2018-04-11 09:17:57 -07:00
Adele Zhou 3f322e1088 Fix a memory leak 2018-04-10 17:07:33 -07:00
yang-g ed89d71a71 Depend on unsecure target 2018-04-10 16:11:41 -07:00
ncteisen cf5b2666e1 Make GrpcProtoBufferReaderWriter public 2018-04-06 07:05:27 -07:00
Alex Polcyn 11a45a8057 Fix c-ares tests under gcc musl 2018-04-05 08:04:28 +00:00
Jan Tattermusch b15ddc41c2
Merge pull request #14884 from ara-ayvazyan/fix_server_builder_test
Fix crashing server_builder_test
2018-04-04 09:13:36 +02:00
Ara Ayvazyan 88846bc637 fixup! Fix formatting 2018-04-03 09:16:17 -07:00
Ara Ayvazyan bd5dae28dc Fix crashing server_builder_test 2018-03-30 10:59:59 -07:00
Alexander Polcyn 42c0d59d76 Revert "Add a flag to the resolver_component_test that permits extra addresses"
This reverts commit 02ce860592.
2018-03-29 16:51:24 -07:00
Vijay Pai a7df986f08 Expand timeouts to deflake alarm test 2018-03-27 10:55:41 -07:00
apolcyn bd6bdf9327
Merge pull request #13290 from apolcyn/cares_address_sorting_master_c
Add address sorting submodule for use in c-ares wrapper
2018-03-26 14:34:57 -07:00
David G. Quintas ab5fca8324
Merge pull request #14680 from dgquintas/fix_for_clang5
Don't capture unnecessary or unused variables
2018-03-22 10:12:08 -07:00
Jan Tattermusch b4a5727149
Merge pull request #14321 from grpc/revert-13813-disable_low_thread_count
Revert "Disabled the json_run_localhost:*_low_thread_count family of tests"
2018-03-22 09:11:55 +01:00
David Garcia Quintas caa2605a28 Don't capture unnecessary or unused variables 2018-03-21 18:25:22 -07:00
Noah Eisen dc93b71e53
Merge pull request #14751 from ncteisen/channel-tracing
[Fix Forward]: Channel Tracing Implementation; Part 1
2018-03-21 16:49:12 -07:00
Vijay Pai 7959f7d248
Merge pull request #14759 from vjpai/desneak
C++: Desneak client async unary call
2018-03-21 10:10:43 -07:00
Alex Polcyn 77f64f76bd Put address_sorting's public header under its own directory. Also add
test_only to sort function used in test.
2018-03-20 23:51:23 -07:00
Alexander Polcyn 5de347855a Reorganize cmake rules for address sorting; also fix merge conflict
Fix clang-tide issue
2018-03-20 23:51:23 -07:00
Alexander Polcyn d21ee15076 Stop relying on certain ipv6 macros. Also bazel build updates.
Fix error just made in bazel/grpc_build_system.bzl

Fix merge conflict support/env -> gpr/env
2018-03-20 23:51:23 -07:00
Alexander Polcyn 690dde672a Add address sorting submodule for use in c-ares wrapper 2018-03-20 23:51:19 -07:00
apolcyn eb8af5c733
Merge pull request #14548 from apolcyn/allow_extra_records_in_resolver_test
Add a flag to the c-ares resolver tests that permits extra addresses to be received
2018-03-20 10:34:23 -07:00
Jan Tattermusch ac08180ab3 Revert "Disabled the json_run_localhost:*_low_thread_count family of tests" 2018-03-20 17:16:34 +01:00
Vijay Pai cdddc8ce42 Desneak client unary call, avoid Hyrum's Law (used for 1-thread simplicity) 2018-03-20 08:46:28 -07:00
ncteisen 6e22d21608 Fix small build issues 2018-03-19 15:56:28 -07:00
ncteisen 3b42f83068 Revert "Revert "Channel Tracing Implementation; Part 1""
This reverts commit f2bea3725f.
2018-03-19 13:22:35 -07:00
Noah Eisen f2bea3725f
Revert "Channel Tracing Implementation; Part 1" 2018-03-19 12:05:18 -07:00
Noah Eisen 1571abdb7f
Merge pull request #13883 from ncteisen/channel-tracing
Channel Tracing Implementation; Part 1
2018-03-16 07:55:43 -10:00
ncteisen b93a006d64 Merge branch 'master' of https://github.com/grpc/grpc into channel-tracing 2018-03-15 13:46:28 -10:00
Vijay Pai ba46afe3e2 Delete status_test that has no coverage; replace with static_asserts 2018-03-15 11:30:59 -07:00
David G. Quintas ac872dd656
Merge pull request #14556 from dgquintas/grpclb_test_call_creds_removal
Verify LB doesn't receive call creds
2018-03-14 12:51:29 -07:00
apolcyn 43911f2564
Merge pull request #14690 from apolcyn/fix_resolver_test_arg_parse
Fix resolver test script's arg parsing for bazel runs
2018-03-14 00:13:03 -07:00
David Garcia Quintas 6234054aa8 Verify LB doesn't receive call creds 2018-03-13 18:59:40 -07:00
Alexander Polcyn 1eaac47f52 Fix arg parsing in resolver test script 2018-03-13 10:46:59 -07:00
kpayson64 539f5068bd Abstract libuv implementation
Structures the libuv implementation to allow for a plugable
BSD style socket implementation to allow for other IO Managers
2018-03-13 01:21:42 -07:00
Vijay Pai 44fd6557ae
Merge pull request #14676 from muxi/fix-inttypes-include
Stop including inttypes.h in gRPC core public header
2018-03-12 19:13:32 -07:00
Muxi Yan 2a03c876ec Fix one more file 2018-03-12 14:54:55 -07:00
Vijay Pai 2c6aee9cf7
Merge pull request #14591 from vjpai/framesize
Build with stack frame size limits
2018-03-12 14:21:10 -07:00
Mark D. Roth 41c396ec88
Merge pull request #14607 from markdroth/c++_byte_stream
Convert byte_stream API to C++.
2018-03-12 11:05:36 -07:00
apolcyn 1213682122
Merge pull request #14662 from apolcyn/fix_broken_file_test_under_bazel
Fix a broken bazel test
2018-03-10 12:40:34 -08:00
Vijay Pai a7f52a62ba
Merge pull request #14660 from vjpai/exception_10x
Run exception tests 10x to make sure server doesn't crash
2018-03-09 16:42:24 -08:00
Vijay Pai c04c53b38e Run exception tests 10x to make sure server doesn't crash 2018-03-09 15:15:32 -08:00
Alexander Polcyn f133259617 Fix broken golden file test under bazel 2018-03-09 14:45:43 -08:00
Mark D. Roth 3d8b32d8b3 Convert byte_stream API to C++. 2018-03-09 13:25:40 -08:00
Muxi Yan 34f153cbeb Change grpc++ reference in names to grpcpp in test/cpp/cocoapods 2018-03-09 12:25:05 -08:00
Vijay Pai c90a85649b Change grpc++ references in names to grpcpp 2018-03-08 22:04:59 -08:00
apolcyn 44dac6050a
Merge pull request #14610 from apolcyn/python_dig
Remove the C++ test dependency on dig and dnsutils
2018-03-08 11:36:35 -08:00
ncteisen 0c6024b94d Merge branch 'master' of https://github.com/grpc/grpc into channel-tracing 2018-03-07 10:17:15 -08:00
ncteisen 09703ea300 Add severity 2018-03-07 00:34:37 -08:00
ncteisen 97a3dbeb36 Move C++ to util, call it from core test 2018-03-07 00:00:14 -08:00
ncteisen 568a95e0b4 Make test work 2018-03-06 23:31:47 -08:00
ncteisen 503099b1cc Redoing render, about to take things away 2018-03-06 23:21:04 -08:00
ncteisen 07ed0396a9 Add JsonProtoTest 2018-03-06 21:44:08 -08:00
Alexander Polcyn 0a05b782fe Move python DNS utilities to utils subdirectory 2018-03-06 19:22:34 -08:00
apolcyn 14b470ac8f
Merge pull request #14609 from apolcyn/cleanup_grpc_py_binary
Clean up grpc_py_binary build rule
2018-03-06 16:23:25 -08:00
Alex Polcyn 3c5e12de08 Remove the C++ test dependency on dig and dnsutils 2018-03-06 11:52:58 -08:00
Alexander Polcyn 092f199474 Clean up grpc_py_binary build rule 2018-03-06 10:40:54 -08:00
Vijay Pai 2f4161c210 Use stack frame size limits for consistency with internal builds 2018-03-05 16:43:32 -08:00
Vijay Pai 7fed69b7ad Use static_cast rather than reinterpret_cast whenever possible 2018-03-05 16:35:10 -08:00
Vijay Pai d3f7c0f93e
Merge pull request #14478 from cookyt/tool-print-trailing-meta
Print trailing metadata in the "grpc_cli call" command.
2018-03-05 14:37:17 -08:00
Vijay Pai 6eae794c9f
Merge pull request #14459 from vjpai/2phase_thd
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
2018-03-02 21:13:28 -08:00
David Garcia Quintas e3438c43a0 Fix and simplify SingleBalancerTest.InitiallyEmptyServerlist 2018-03-01 16:39:52 -08:00
Vijay Pai b357f2f548 Merge branch 'master' into 2phase_thd 2018-03-01 11:48:29 -08:00
David Garcia Quintas 2614494f3c grpclb_end2end test tweaks for compiler happiness 2018-02-28 17:34:55 -08:00
Alexander Polcyn 02ce860592 Add a flag to the resolver_component_test that permits extra addresses 2018-02-28 05:49:38 +00:00
David Garcia Quintas ad0996b9f3 Perform secure naming checks in grpclb_end2end_test 2018-02-27 19:11:50 -08:00
Vijay Pai 8b05d0284f Merge branch 'master' into 2phase_thd 2018-02-24 10:37:13 -06:00
Juanli Shen 5739d34c46
Merge pull request #14497 from AspirinSJL/fix_rpc_failure_flake
Add warmup before first batch in UpdateBalancers tests
2018-02-23 14:07:01 -08:00
Mark D. Roth a90d718cb8
Merge pull request #14455 from markdroth/grpclb_channel_args
Refactor code for generating balancer channel args.
2018-02-23 09:23:25 -08:00
Vijay Pai 9d7e57cac4 Merge branch 'master' into 2phase_thd 2018-02-22 14:33:24 -08:00
Juanli Shen acdefd7646 Add warmup before first batch 2018-02-22 13:46:00 -08:00
Carlos Valera efce74b525 Print trailing metadata in the "grpc_cli call" command.
This often includes important debugging information when the RPC returns
a non-OK status.
2018-02-21 16:03:00 -08:00
Vijay Pai a8453a20d8 Merge branch 'master' into 2phase_thd 2018-02-21 10:24:15 -08:00
Adele Zhou 1c805ec901 Add more bazel tests 2018-02-20 17:46:39 -08:00
Yuchen Zeng 8c259b1a62 Remove C++ end2end test owners 2018-02-20 12:42:30 -08:00
Mark D. Roth bd0f15119a Refactor code for generating balancer channel args. 2018-02-20 10:28:22 -08:00
Vijay Pai 87e2e6a58a clang-fmt 2018-02-19 22:45:47 -08:00
Vijay Pai da69355f30 C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start) 2018-02-19 22:39:58 -08:00
Juanli Shen 84f94c17aa
Merge pull request #14438 from grpc/revert-14412-revert-14376-revert-14356-revert-13671-grpclb_reresolution
Reintroduce grpclb re-resolution with fix
2018-02-19 19:19:10 -08:00
Juanli Shen 10142e4651 Fix test again 2018-02-16 14:27:59 -08:00
David G. Quintas b0d71823a0
Merge pull request #14444 from dgquintas/kill_grpclb_test
Removed outdated grpclb_test
2018-02-15 21:06:21 -08:00
Muxi Yan 34e8e0a640
Merge pull request #14210 from muxi/move-cpp-headers
gRPC C++ Public Header Directory Change
2018-02-15 16:46:43 -08:00
David Garcia Quintas 249a1d7104 Removed outdated grpclb_test 2018-02-15 16:04:28 -08:00
Muxi Yan 0e00c43082 Move headers from grpc++ to grpcpp 2018-02-15 14:49:34 -08:00
Juanli Shen 87c6504ca9
Revert "Revert "Revert "Revert "grpclb re-resolution"""" 2018-02-15 09:42:45 -08:00
David G. Quintas f66cf0d70d
Revert "Revert "Revert "grpclb re-resolution""" 2018-02-12 20:55:27 -08:00
Vijay Pai 1d168541fd
Merge pull request #14407 from vjpai/gpr_review_thd
GPR review: Internalize most of gpr_thd (but not ID/current ID)
2018-02-12 20:06:56 -08:00
Juanli Shen 95f37b3108 Fix test 2018-02-12 13:32:32 -08:00
Vijay Pai c745690caf Internalize gpr_thd except for id and currentid 2018-02-12 11:44:52 -08:00
Juanli Shen 776490af0e Revert "Revert "grpclb re-resolution"" 2018-02-12 11:35:40 -08:00
Noah Eisen 10a9e4e4fb
Merge pull request #14150 from ncteisen/more-clang-tidy
Remove and Prohibit C Style Casts
2018-02-10 08:58:46 -08:00
Vijay Pai 2650c9730f
Merge pull request #14397 from vjpai/nb2
Add a separate test for non-blocking polling and RPCs
2018-02-09 18:07:22 -08:00
Vijay Pai 823c9c4717
Merge pull request #14396 from vjpai/ae2e
Remove spinning variants from async_end2end_test
2018-02-09 16:29:31 -08:00
David G. Quintas 81f6a7cf9b
Merge pull request #14374 from dgquintas/missing_pr_comments
Addressing #14170 leftover comments
2018-02-09 16:14:25 -08:00
Vijay Pai dd57cb5949 Empty out all tests if GRPC_POSIX_SOCKET is not defined 2018-02-09 15:47:44 -08:00
Vijay Pai 132efa0c9b Add non-blocking test 2018-02-09 15:42:05 -08:00
Vijay Pai 1e6a620b50 Remove spinning version 2018-02-09 14:48:00 -08:00
David Garcia Quintas 7756b3785d Addressing #14170 leftover comments 2018-02-09 13:24:19 -08:00
Noah Eisen f56fe4d448
Remove uneeded headers 2018-02-09 13:21:54 -08:00
ncteisen d187ef8c7c Stop overriding poll function in async_end2end 2018-02-09 11:00:23 -08:00
Noah Eisen 4d20a66685 Run clang fmt 2018-02-09 09:34:04 -08:00
Noah Eisen be82e64b3d Autofix c casts to c++ casts 2018-02-09 09:16:55 -08:00
Vijay Pai a54d81ebc2 Merge branch 'master' into gpr_review 2018-02-08 15:37:12 -08:00
Vijay Pai 0693b72b7f Merge branch 'master' into gpr_review 2018-02-08 15:18:13 -08:00
Mehrdad Afshari 6ec9bb8762
Merge pull request #14360 from mehrdada/shellcheck-slash-test
Enforce shellcheck on scripts under /test/
2018-02-08 15:15:14 -08:00
Vijay Pai 0024ebc852
Merge pull request #14196 from vjpai/gpr_review_tls
GPR review: Privatize thread-local storage headers
2018-02-08 13:24:39 -08:00
Mark D. Roth 2a073981f3
Merge pull request #13684 from markdroth/c++_resolver
C++ Resolver API
2018-02-08 12:18:55 -08:00
Vijay Pai 18b9133f31 Merge branch 'master' into gpr_review 2018-02-08 12:18:09 -08:00
Vijay Pai 239b7d4b0b Merge branch 'master' into gpr_review 2018-02-08 11:08:41 -08:00
Mark D. Roth 209f644f04 Convert resolver API to C++. 2018-02-08 10:26:46 -08:00
Vijay Pai 25b61fd60e Merge branch 'master' into gpr_review_tls 2018-02-08 10:26:25 -08:00
Vijay Pai 573717bc8d Merge branch 'master' into gpr_review3 2018-02-08 10:21:11 -08:00
Vijay Pai 7bd5e18fea
Merge pull request #14197 from vjpai/gpr_review_host_port
GPR review: privatize host_port.h
2018-02-08 10:14:29 -08:00
Vijay Pai 32748c1b2a Merge branch 'master' into gpr_review3 2018-02-08 10:06:23 -08:00
Vijay Pai f37d33a21a
Merge pull request #14349 from vjpai/own2own
Add owners to C++ end2end tests to reduce chance of accidental API breakage
2018-02-08 09:58:38 -08:00
David G. Quintas c8f572b443
Merge pull request #14170 from dgquintas/fake_resolver_dont_push_rr_reresolve2
Make RR re-resolve when any of its subchannels fail.
2018-02-08 09:16:04 -08:00
David Garcia Quintas a68a11e4a0 PR comments 2018-02-07 17:07:16 -08:00
Sree Kuchibhotla 3261b2d575
Merge pull request #14351 from sreecha/bm-epollex-fix
Fix the server shutdown code in Fullstack_fixtures
2018-02-07 15:36:51 -08:00
Mehrdad Afshari 37629bacf5 Regenerate projects 2018-02-07 11:45:34 -08:00
Vijay Pai b1ef84a7fd Merge branch 'master' into gpr_review_host_port 2018-02-07 11:12:35 -08:00
Juanli Shen aa7dc296b6
Revert "grpclb re-resolution" 2018-02-07 09:50:08 -08:00
Sree Kuchibhotla 3293da3ca3 Change the Fixture shutdown code so that the server fds are still polled
(to flush out any writes) when the server is shutdown.
2018-02-06 23:45:15 -08:00
Vijay Pai 811d39a5bc Add owners to C++ end2end tests to prevent accident API breakage 2018-02-06 21:41:24 -08:00
Muxi Yan fb369d9567
Merge pull request #14343 from muxi/revert-12708
Revert breaking API in #12708
2018-02-06 20:40:21 -08:00
Muxi Yan 6f0b195d20 Replace GRPC_COMPRESS_MESSAGE_* with GRPC_COMPRESS_* 2018-02-06 18:17:42 -08:00
Juanli Shen 33cdd57ab7 grpclb in charge of its re-resolution 2018-02-06 17:03:53 -08:00
David Garcia Quintas 20331706e2 Make RR re-resolve upon any subchannel failure 2018-02-06 14:48:12 -08:00
Carl Mastrangelo 16cca9f4c1 Check return values from ServiceReflection calls, and print a more helpful message 2018-02-06 12:29:01 -08:00
Vijay Pai 007f1197ac
Merge pull request #14322 from vjpai/generic_deprecate
Deprecate GenericStub()::Call for multi-threaded use
2018-02-05 21:28:59 -08:00
Vijay Pai 3b7ae55f77 More uses of 1-phase Call 2018-02-05 16:49:22 -08:00
Adele Zhou 461d59cf08 Add BUILD file 2018-02-05 13:18:24 -08:00
Vijay Pai dcd5ef3ad8 Deprecate GenericStub()::Call for multi-threaded use 2018-02-05 13:08:44 -08:00
Juanli Shen 8011a09697
Merge pull request #14281 from AspirinSJL/fake_resolver_results_upon_error
Add a results_upon_error setter to fake resolver
2018-02-02 17:27:57 -08:00
Vijay Pai 1acfaca3e6 Merge branch 'master' into gpr_review_host_port 2018-02-02 11:21:07 -08:00
Vijay Pai d4d0a30c6f Privatize useful.h and avl.h 2018-02-02 09:16:44 -08:00
Juanli Shen d82e137c7b Add a results_upon_error setter to fake resolver 2018-02-02 09:16:12 -08:00
Vijay Pai 4c0640ebd6
Merge branch 'master' into gpr_review3 2018-02-02 09:12:11 -08:00
Vijay Pai e5b0a50416
Merge pull request #14015 from vjpai/alarm
Remove alarm from core, implement in C++ layer only
2018-02-02 08:44:20 -08:00
David Garcia Quintas 1efec95d64 Removed unused argument from ResetStub() 2018-02-01 16:29:58 -08:00
adelez 4f8b322b74
Merge pull request #14266 from adelez/fix_grpc_tool_test
Fix echo.proto path under bazel
2018-02-01 12:40:48 -08:00
Adele Zhou 2294031d6a Fix echo.proto path under bazel 2018-02-01 11:49:22 -08:00
adelez d2cbfac17f
Merge pull request #14255 from adelez/foundry_integration
Fix path relative to TEST_SRCDIR
2018-01-31 16:32:47 -08:00
Jan Tattermusch e294279e39
Merge pull request #14236 from jtattermusch/fix_passthru_endpoint_race
Make grpc_passthru_endpoint_stats refcounted
2018-02-01 00:37:59 +01:00
Adele Zhou 8b616a890a Fix path relative to TEST_SRCDIR 2018-01-31 15:28:49 -08:00
Jan Tattermusch 889bb7fde4 calling create in default param is against code style 2018-01-31 23:21:41 +01:00
Jan Tattermusch 18f27376c5 avoid touching stats_ instance field before base constructor 2018-01-31 22:35:17 +01:00
Jan Tattermusch a3088a6ce8 fix rounding problem in EchoDeadline test 2018-01-30 23:38:26 +01:00
Jan Tattermusch 12ba4b1e05 make grpc_passthru_endpoint_stats refcounted 2018-01-30 19:24:56 +01:00
Vijay Pai ae376bf9d9 Privatize host_port.h; was not used in any wrapped language implementation 2018-01-25 23:06:24 -08:00
Vijay Pai b6cf123717 Privatize thread-local storage headers 2018-01-25 22:12:28 -08:00
Vijay Pai 8a99fdb57e Move cmdline and subprocess from public gpr to test/core/util 2018-01-25 20:11:38 -08:00
Sree Kuchibhotla de5f6bfe92 Set the environment variable at the beginning of the test. Otherwise, it
is not being read by the backup poller
2018-01-25 17:23:42 -08:00
Muxi Yan fd900e09fb Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface 2018-01-24 16:16:23 -08:00
Yang Gao de79daaba5
Merge pull request #14164 from yang-g/cork_all
Add option to use client side coalescing API in qps test
2018-01-24 11:44:22 -08:00
yang-g ea33017540 Add option to use client side coalescing API in qps test 2018-01-24 09:12:01 -08:00
Juanli Shen 8e4c9d308c Extract lb_calld from glb_policy 2018-01-23 16:26:39 -08:00
Yang Gao ef7d312be3
Merge pull request #14080 from yang-g/return_early
Clear pending data when stream is closed by server.
2018-01-23 14:11:46 -08:00
Noah Eisen badfd41443
Merge pull request #14086 from ncteisen/more-clang-tidy
Clang Tidy Codebase Part1
2018-01-23 11:59:56 -08:00
yang-g 98cd36e2c3 Add a test 2018-01-23 11:42:10 -08:00
ncteisen d88f903bd1 Merge branch 'master' of https://github.com/grpc/grpc into more-clang-tidy 2018-01-22 11:58:09 -08:00
Vijay Pai 28b6a44637 Migrate all remaining features of core test to C++ layer test 2018-01-21 21:04:37 -08:00
Vijay Pai 2b226adf60 Remove alarm from core, implement in C++ layer only 2018-01-21 21:03:56 -08:00
Muxi Yan bc4b7891c8 Merge remote-tracking branch 'upstream/master' into create-grpc-c++-podspec 2018-01-19 17:35:33 -08:00
Muxi Yan 61bb29f141 Clean up C++ tests and example 2018-01-19 17:32:27 -08:00
Muxi Yan fb061c329a Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface 2018-01-19 12:20:15 -08:00
Noah Eisen 93563bc0dc remote stale import 2018-01-19 09:54:49 -08:00
Muxi Yan 277e2e4f07 Clean up tests, examples, and podspecs 2018-01-18 17:01:08 -08:00
yang-g a29d6d0d74 remove use of random_shuffle 2018-01-18 15:54:29 -08:00
Mark D. Roth dbdf495f61 Split lib/support into lib/gpr and lib/gpr++. 2018-01-18 11:21:12 -08:00
David Garcia Quintas 41d27e104f Merge branch 'master' of github.com:grpc/grpc into conn_subchannel 2018-01-17 10:38:53 -08:00
Jan Tattermusch e5b7ddd59c
Merge pull request #13363 from grpc/revert-13346-revert-13322-oauth_failure
Revert "Revert "Switching from UNAUTHENTICATED to UNAVAILABLE for auth metadata failure""
2018-01-16 18:21:23 +01:00
Vijay Pai 7500577593 Address review feedback; stop using result of 'what' 2018-01-09 10:55:37 -08:00
Vijay Pai b425fc79da Comment on cpp guard 2018-01-08 15:12:55 -08:00
Vijay Pai 9809ce38e9 Use appropriate preprocessor guards to allow building without exceptions 2018-01-08 15:12:55 -08:00
Vijay Pai 8fc3715a17 Catch exceptions from sync method handlers without crashing server 2018-01-08 15:12:55 -08:00
David Garcia Quintas 53bfe69f70 Connected subchannel refactoring 2018-01-05 20:08:51 -08:00
Muxi Yan d83cff57f4 Delete stale file 2018-01-05 17:05:09 -08:00
Muxi Yan a2d64be533 Add C++ library iOS test 2018-01-05 16:02:43 -08:00
yang-g eb64fadfce Provide a way to use custom search path for gmock.h 2017-12-22 13:46:25 -08:00
Yang Gao 9d77be167a
Merge pull request #13837 from yang-g/interop
When seeing an error in interop test, also log the debug error string.
2017-12-20 08:53:01 -08:00
Alexander Polcyn 3a1a2f0a10 Use the same ParseCommandLineFlags for golden file test that is used in other test binaries 2017-12-19 16:43:50 -08:00
yang-g 19d1eb2228 When seeing an error in interop test, also log the debug error string. 2017-12-19 16:41:51 -08:00
Alexander Polcyn d3dbc0d07b Mark one test binary as testonly 2017-12-19 16:04:00 -08:00
David G. Quintas e9b0fd07a5
Merge pull request #13494 from dgquintas/backoff_cpp
C++-ize backoff
2017-12-19 14:46:33 -08:00
apolcyn 1c4d410c10
Merge pull request #13720 from apolcyn/enable_golden_file_test_in_bazel
Fix golden file test under bazel
2017-12-19 11:57:09 -08:00
David Garcia Quintas 1bedfa3963 Fix another data race in client_lb_end2end 2017-12-19 08:48:59 -08:00
David Garcia Quintas 4f4a45e97e fix tsan issue in client_lb_end2end 2017-12-18 17:00:42 -08:00
David Garcia Quintas 251af24c54 Disabled the json_run_localhost:*_low_thread_count family of tests 2017-12-18 13:38:10 -08:00
David Garcia Quintas 3bc0dacfe0 Removed exec_ctx from new client_lb_end2end code 2017-12-18 13:34:25 -08:00
apolcyn f19b20f9f6
Merge pull request #13803 from apolcyn/mark_testonly
Mark two test binaries as testonly
2017-12-17 16:28:56 -08:00
Alexander Polcyn 5f72c6a0f0 Mark a couple of test binaries asa testonly 2017-12-15 13:29:10 -08:00
David Garcia Quintas 9c8ea03ee3 Merge branch 'master' of github.com:grpc/grpc into backoff_cpp 2017-12-15 13:24:55 -08:00
David Garcia Quintas 590099c46f PR comments, round 3 2017-12-15 12:46:48 -08:00
Yuchen Zeng 33aaffa639
clang_format 2017-12-15 11:03:50 -08:00
Yuchen Zeng 6ac62118b7 Report more error messages in grpc_cli 2017-12-14 19:12:42 -08:00
David Garcia Quintas d9286734cc PR comments 2017-12-14 15:16:22 -08:00
Yuchen Zeng 487ee31b9e Address review comments 2017-12-14 14:57:38 -08:00
Yuchen Zeng 243505060a Support access token credential in grpc_cli 2017-12-14 11:42:16 -08:00
Craig Tiller 78335ac376
Merge pull request #13710 from ctiller/fix17it1
Fix test helper binaries
2017-12-13 15:35:04 -08:00
Jan Tattermusch ef0e64cdf5 Revert "Revert "Switching from UNAUTHENTICATED to UNAVAILABLE for auth metadata failure"" 2017-12-14 00:17:20 +01:00
David Garcia Quintas 54d699ddda Merge branch 'master' of github.com:grpc/grpc into backoff_cpp 2017-12-13 14:44:29 -08:00
Muxi Yan 032e9b32dc Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface 2017-12-13 14:04:45 -08:00
David Garcia Quintas af42ea715c Added tests for initial and min connect backoffs 2017-12-13 13:53:40 -08:00
Yuchen Zeng 5bd81fefe6
Merge pull request #13721 from y-zeng/cli_metadata
Add escape sequences for the grpc_cli metadata flag
2017-12-13 11:52:59 -08:00
Craig Tiller 3a6e5bbea4 Fixes 2017-12-13 10:02:33 -08:00
Sree Kuchibhotla 66d10191b0
Merge pull request #13631 from sreecha/cv-wait-monotonic
Use monotonic clock type for gpr_cv_wait
2017-12-12 11:25:17 -08:00
Yuchen Zeng 2455b3d33d Fix tsan issue 2017-12-12 11:09:39 -08:00
Yuchen Zeng 19889d79e4 Add escape sequences for the grpc_cli metadata flag 2017-12-11 20:58:12 -08:00
Alexander Polcyn 2830e3a326 Enable golden file test in bazel 2017-12-11 19:19:27 -08:00
Muxi Yan c870ce5476 More message compression level clean-up 2017-12-11 15:53:22 -08:00
Sree Kuchibhotla 7fd341746b
Merge pull request #13678 from sreecha/rpc-deadline-fix
Tweak the RpcDeadline test to reduce flakes
2017-12-11 11:17:04 -08:00
Craig Tiller 04bd8b3b11 Fix test helper binaries 2017-12-11 18:59:31 +00:00
Muxi Yan 99024d6436 Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface 2017-12-08 14:02:18 -08:00
Noah Eisen 5b1a66cef1
Merge pull request #13413 from ncteisen/surfacing-error-details-wrapped
Surface Error String to Wrapped Languages
2017-12-08 13:44:37 -08:00
ncteisen 6193c63dab Reviewer feedback 2017-12-08 10:49:31 -08:00
Muxi Yan 5c5bafff5a Merge commit '94e676e^2' into fix-stream-compression-config-interface 2017-12-08 10:39:22 -08:00
Sree Kuchibhotla ca398ee74a Merge branch 'master' into cv-wait-monotonic 2017-12-08 10:19:56 -08:00
Yash Tibrewal 94e676e10f
Merge pull request #13659 from grpc/revert-13658-revert-13058-execctx
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
2017-12-08 09:30:40 -08:00
Yash Tibrewal d6c292f177 Merge master 2017-12-07 19:38:43 -08:00
David G. Quintas 0b6bdbc492
Merge pull request #12488 from dgquintas/removed_expiration_interval
Removed expiration_interval from LB proto
2017-12-07 15:00:33 -08:00
David G. Quintas 495476a5db
Merge pull request #13682 from dgquintas/send_rpc_status_return
Make it possible to ignore result of SendRPC() in test
2017-12-07 14:48:38 -08:00
kpayson64 a802157268
Merge pull request #13677 from kpayson64/fix_benchmark
Fix Async QPS Test
2017-12-07 13:57:10 -08:00
David Garcia Quintas 9702566b98 Make it possible to ignore result of SendRPC() in test 2017-12-07 13:01:59 -08:00
Sree Kuchibhotla cc6601e213 Tweak the RpcDeadline test to reduce flakes 2017-12-07 11:23:40 -08:00
Ken Payson 8873975a30 Fix Async QPS Test 2017-12-07 10:24:25 -08:00
Muxi Yan 6043006af1 Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface 2017-12-06 22:29:12 -08:00
Muxi Yan 67454d71e8 Merge commit 'b0bad8f' into fix-stream-compression-config-interface 2017-12-06 22:09:36 -08:00
Muxi Yan fc38142db6 Merge commit 'b0bad8f^' into fix-stream-compression-config-interface 2017-12-06 22:02:08 -08:00
Muxi Yan 38fcd0c6c3 clang-format 2017-12-06 18:55:05 -08:00
Muxi Yan 4a117f0be7 Merge e759d2a^ 2017-12-06 18:47:16 -08:00
David Garcia Quintas 4d9f7f6cf9 PR comments 2017-12-06 16:45:49 -08:00
David Garcia Quintas d196658279 Merge branch 'master' of github.com:grpc/grpc into removed_expiration_interval 2017-12-06 16:16:49 -08:00
David Garcia Quintas d5ca876b6d Fixed ClientLbEnd2endTest.RoundRobinReresolve flakiness 2017-12-06 12:40:41 -08:00
Yash Tibrewal 8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed"" 2017-12-06 09:47:54 -08:00
Yash Tibrewal ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed" 2017-12-06 09:05:05 -08:00
Yash Tibrewal a3df36cc25
Merge pull request #13058 from yashykt/execctx
All instances of exec_ctx being passed around in src/core removed
2017-12-05 21:19:52 -08:00
Vijay Pai 9dbb6e3a28
Merge pull request #13559 from dmaclach/threadnames
Add thread naming support on platforms that support it.
2017-12-05 19:00:11 -08:00
Yash Tibrewal 73bb67d054 Merge master into execctx 2017-12-05 17:49:11 -08:00
Vijay Pai 43b8f8a11e
Update grpclb_test.cc 2017-12-05 17:17:40 -06:00
David G. Quintas 05cd3102b7
Merge pull request #13630 from dgquintas/fix_deadupdate
Fix UpdatesTest.UpdateBalancersDeadUpdate expectation
2017-12-05 14:41:43 -08:00
Vijay Pai 770bf078d5 Regen projects and fix more uses of gpr_thd_new 2017-12-05 16:09:20 -06:00
Mark D. Roth 6fa206de8f
Merge pull request #13336 from markdroth/server_connection_timeout
On server, include receiving HTTP/2 settings in handshake timeout
2017-12-04 14:28:49 -08:00
ncteisen 18bc278c81 Add tests 2017-12-04 13:25:14 -08:00
Sree Kuchibhotla 54961bb9e1 Change the code to use MONOTONIC clocks when calling gpr_cv_wait (condition varialbes in linux support MONOTONIC clock type) 2017-12-04 12:50:27 -08:00
David Garcia Quintas 3a9743c881 Fix UpdatesTest.UpdateBalancersDeadUpdate expectation 2017-12-04 12:25:29 -08:00
Vijay Pai c3b1e55a3c
Merge pull request #13576 from vjpai/qps_killer
Resolve various races in QPS sync client
2017-12-04 12:03:51 -08:00
Vijay Pai c6587ca11b Reintroduce lambdas 2017-12-04 10:15:19 -08:00
Vijay Pai f230ffd476 clang-format 2017-12-04 09:58:44 -08:00
Vijay Pai 083b9be1a2 Make all-streams op about cleanup only and replace a lambda with a virtual 2017-12-04 09:56:28 -08:00
Yang Gao 6a019e732a
Merge pull request #13329 from dwittmer/dwittmer_runserver
Add support to RunServer for notifying clients via condition variable that the interop server has started.
2017-12-04 09:51:23 -08:00
yashkt d9f6407190 Merge master into execctx after removal of assert in tls_gcc 2017-12-04 09:41:12 -08:00
Vijay Pai c8dd4c5139 Remove some unneeded and spammy logs 2017-12-04 01:38:00 -08:00
Vijay Pai 6389457ed2 Adjust stream cancellation point and fix races in sync client 2017-12-04 00:57:58 -08:00
Mark D. Roth e109ddf89f Merge remote-tracking branch 'upstream/master' into server_connection_timeout 2017-12-01 08:56:25 -08:00
Vijay Pai 764ef8c797
Merge pull request #13575 from vjpai/dehist
Move histogram to test/core/util
2017-11-30 18:02:44 -08:00
Yash Tibrewal 36522e9f80 Merge master after no Extern C changes 2017-11-30 17:47:36 -08:00
Vijay Pai 195cf1ebfd Move histogram to test/core/util 2017-11-30 15:02:04 -08:00
Yash Tibrewal 10f2790f7f Merge branch 'master' into execctx 2017-11-30 10:54:42 -08:00
Yash Tibrewal c354269ba7 Remove _ prefixed variable names 2017-11-29 19:07:44 -08:00
ncteisen 14b27b847d Merge commit 'aa358d5e43' into no-more-extern-c 2017-11-29 16:43:00 -08:00
Mark D. Roth c5d0df9e44 Merge remote-tracking branch 'upstream/master' into server_connection_timeout 2017-11-29 12:04:37 -08:00
Vijay Pai 1fece54633 Add all tests to test/cpp/util bazel BUILD file 2017-11-28 23:39:00 -08:00
Juanli Shen f9df52900a
Fix comment 2017-11-28 18:08:36 -08:00
Yash Tibrewal 03412ee9de Remove TLS_NO_SUPPORT and always use GPR_TLS. Reorder statements in grpc_init and grpc_shutdown. Add grpc_init and grpc_shutdown in failing test/cpp tests 2017-11-28 18:06:23 -08:00
Mark D. Roth 5491eb7c5b Merge remote-tracking branch 'upstream/master' into server_connection_timeout 2017-11-27 10:17:44 -08:00
Mark D. Roth aaad0c2e5a clang-format 2017-11-27 08:31:50 -08:00
Yash Tibrewal eaf67dbdf6 Fixing errors and minor bugs 2017-11-22 16:59:56 -08:00
Yash Tibrewal a13a8c0f3e A few src/core fixes due to missing exec_ctx_finish 2017-11-21 19:38:09 -08:00
Yash Tibrewal 7486144de0 Merge master 2017-11-21 16:52:06 -08:00
ncteisen e8bb8749ed Merge branch 'master' of https://github.com/grpc/grpc into no-more-extern-c 2017-11-21 16:22:00 -05:00
Noah Eisen dd010f2297
Merge pull request #13364 from ncteisen/surfacing-error-details
Add Error String to Recv Status API
2017-11-21 07:35:32 -08:00
Mark D. Roth da6b4790e5 Merge remote-tracking branch 'upstream/master' into server_connection_timeout 2017-11-20 12:35:02 -08:00
ncteisen 6dc1097c5e Fix test cert build 2017-11-20 12:41:13 -05:00
Dan Wittmer 472d7c9232 Fix formatting - missed moving ‘*’ next to type. 2017-11-17 15:49:11 -08:00
Dan Wittmer b88ab92af2 Fix formatting of RunServer params. 2017-11-17 15:23:32 -08:00
ncteisen adbfbd5977 Remove all extern C 2017-11-17 14:08:57 -08:00
kpayson64 510fcb84b6
Merge pull request #13409 from kpayson64/fix_json_run_localhost
Fix TSAN json_run_localhost flake
2017-11-17 11:35:05 -08:00
Yash Tibrewal 177039b2f8 Merge master 2017-11-16 19:31:28 -08:00
Ken Payson 7cf8d72c25 Fix TSAN json_run_localhost flake 2017-11-16 18:36:38 -08:00
Dan Wittmer 6d18fcd3ab Add ServerStartedCondition to hold the mutex, condition variable and condition. Changes allow callers to correctly handle spurious wakeups. 2017-11-16 16:45:23 -08:00
Dan Wittmer 728f1d2c44 s//used 2017-11-16 14:37:49 -08:00
ncteisen 3039b37a0e Fix bad merge 2017-11-15 18:24:05 -08:00
apolcyn 767e1cb912
Merge pull request #13405 from apolcyn/grpc_config_txt_prefix
Query for TXT service configs with _gprc_config prefix
2017-11-15 17:23:48 -08:00
ncteisen df817f3e1a Merge branch 'master' of https://github.com/grpc/grpc into surfacing-error-details 2017-11-15 16:48:19 -08:00
Mark D. Roth 03610f672e Merge remote-tracking branch 'upstream/master' into server_connection_timeout 2017-11-15 12:54:28 -08:00
Alexander Polcyn 56a19ae06a Query for TXT service configs with _gprc_config prefix 2017-11-15 10:37:28 -08:00
Yash Tibrewal 6c26b16fe0 Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes 2017-11-14 18:11:22 -08:00
Juanli Shen 070f0c4b67
Merge pull request #13139 from AspirinSJL/stress_test
Client channel stress test
2017-11-14 17:06:26 -08:00