Commit Graph

3881 Commits

Author SHA1 Message Date
yang-g 47233225ca Split out the test service to separate library so that it can be reused 2018-12-06 17:12:43 -08:00
yang-g f1f557bc43 Add a Shutdown call to HealthCheckServiceInterface 2018-12-06 16:16:58 -08:00
Vijay Pai 97de30d7b3 Allow the interceptor to know the method type 2018-12-06 15:51:31 -08:00
yang-g 67742ef63f Fix BUILD files. Manually edit bzl files 2018-12-06 14:37:52 -08:00
Noah Eisen e97c9457e2
Merge pull request #17428 from grpc/revert-17417-revert-17394-bazel
Revert "Revert "Add Testonly to Targets""
2018-12-06 13:45:45 -08:00
yang-g e00ca0371a Promote gpr_test_util to part of grpc_test_util, add a sample to show it works, build.yaml change first 2018-12-06 13:40:12 -08:00
Mark D. Roth 3dd24ea978 code review changes 2018-12-06 12:27:41 -08:00
Mark D. Roth e9efc6fa02
Merge pull request #17383 from markdroth/pick_first_choose_ready_subchannel_at_startup
Change pick_first to immediately select the first subchannel in READY state.
2018-12-06 11:18:53 -08:00
Noah Eisen bc447b5f23
Revert "Revert "Add Testonly to Targets"" 2018-12-06 11:16:15 -08:00
Vijay Pai 59c4046e9a
Merge pull request #17416 from vjpai/ondone
Fix client-side callback API race, allow reuse of application reactor structure
2018-12-06 10:39:17 -08:00
Mark D. Roth bb5741f9c0 Change pick_first to immediately select the first subchannel in READY state. 2018-12-06 10:18:44 -08:00
Mark D. Roth 5f806d77dc Fix bug in subchannel backoff reset code. 2018-12-06 09:21:21 -08:00
Vijay Pai 611bb6b495 Test reactor reuse 2018-12-06 09:13:52 -08:00
Sheena Madan 5874506655
Merge pull request #17418 from grpc/revert-16882-microbenchmarks-bazel
Revert "Make Microbenchmarks Test Targets"
2018-12-05 18:41:39 -08:00
Sheena Madan 8a461613d1
Revert "Make Microbenchmarks Test Targets" 2018-12-05 16:45:15 -08:00
Sheena Madan de00c613a9
Revert "Add Testonly to Targets" 2018-12-05 16:40:37 -08:00
yang-g 991963efcc Merge branch 'master' into shutdown 2018-12-05 14:53:06 -08:00
hcaseyal dc12bf58b8
Merge pull request #17350 from hcaseyal/callback_test_coverage_1
Add test for sending client initial metadata for callback API
2018-12-05 08:28:03 -08:00
Sheena Madan 073467b584
Update BUILD 2018-12-04 13:14:58 -08:00
ncteisen 0a37159ff4 re add testonly 2018-12-04 12:41:47 -08:00
Hope Casey-Allen 9d2b3f35b9 Fix another problem in grpc_tool_test 2018-12-04 09:32:50 -08:00
Jan Tattermusch 13c9e1a277
Merge pull request #16882 from ncteisen/microbenchmarks-bazel
Make Microbenchmarks Test Targets
2018-12-04 09:10:18 +01:00
Hope Casey-Allen b7f283b06f Fix bazel rbe tests 2018-12-03 16:04:30 -08:00
Hope Casey-Allen 37c18ce676 Merge branch 'callback_test_coverage_1' of github.com:hcaseyal/grpc into callback_test_coverage_1 2018-12-03 13:56:22 -08:00
Hope Casey-Allen f0cb7e6bdc Remove log lines 2018-12-03 13:55:06 -08:00
hcaseyal cf14bd13fb
Merge branch 'master' into callback_test_coverage_1 2018-12-03 10:16:35 -08:00
Hope Casey-Allen c12aabc6a7 Clang format 2018-12-03 10:14:46 -08:00
Vijay Pai 6bca0313d8
Merge pull request #17144 from vjpai/server_streaming
C++ callback API for streaming servers
2018-12-03 09:52:28 -08:00
apolcyn 5fed8e5452
Merge pull request #17354 from apolcyn/fix_ares_deadlocks
Cancel c-ares queries after a timeout to avoid getting stuck
2018-11-30 16:58:16 -08:00
Yang Gao 09add58eca
Merge pull request #17359 from yang-g/test_env
Create a class for test environment and migrate most of the tests to use it.
2018-11-30 16:48:18 -08:00
Vijay Pai 09ba4b4047 Test client-side callback streaming with callback server 2018-11-30 16:17:16 -08:00
Vijay Pai 2a0c0d7ad6 Streaming API for callback servers 2018-11-30 16:14:21 -08:00
ncteisen 8ace4e16df disable some add some 2018-11-30 15:37:02 -08:00
Alexander Polcyn b203ed3c07 Cancel still-active c-ares queries after 10 seconds to avoid chance of deadlock 2018-11-30 15:06:11 -08:00
ncteisen 475ccfd110 Fix ubsan 2018-11-30 10:27:34 -08:00
ncteisen 3eb6c4779d Exclude census 2018-11-30 10:27:34 -08:00
ncteisen bdd0d47e07 microbenchmarks don't use polling 2018-11-30 10:27:34 -08:00
Noah Eisen 12d9d04cb4 Make microbenchmarks test targets 2018-11-30 10:27:34 -08:00
Hope Casey-Allen 4a6e165328 Add service definition to sync server 2018-11-30 10:26:31 -08:00
yang-g e75fc243da change tests to use the new class instead of grpc_test_init 2018-11-30 08:57:38 -08:00
Vijay Pai 2b5d45ab38 Fix clang-tidy and golden file issues 2018-11-30 04:13:41 -08:00
Vijay Pai ea1156da3f Stop exposing streaming object class 2018-11-30 04:13:40 -08:00
Vijay Pai dac2066a1c Make StartCall() a releasing operation so that you can pile up ops 2018-11-30 04:13:40 -08:00
Vijay Pai 60949a8232 Revert an order change 2018-11-30 04:13:40 -08:00
Vijay Pai 5dcfc8be96 More review comments 2018-11-30 04:13:40 -08:00
Vijay Pai 85128c7f41 Improve test readability at suggestion of @ghemawat 2018-11-30 04:13:40 -08:00
Vijay Pai d7eb26648d Client callback streaming 2018-11-30 04:13:40 -08:00
Hope Casey-Allen 470ea17843 Debugging unimplemented error in CheckClientInitialMetadata 2018-11-29 15:57:53 -08:00
yang-g 483e0ad3f2 Merge with master and resolve conflict 2018-11-29 10:39:35 -08:00
Mark D. Roth c3ad2243ee
Merge pull request #17312 from markdroth/grpclb_empty_serverlist_fix
Don't ignore empty serverlists from the grpclb balancer.
2018-11-29 09:23:22 -08:00
Mark D. Roth 217de89085 Don't ignore empty serverlists from the grpclb balancer. 2018-11-29 07:39:15 -08:00
Bill Feng 8b7323df1c
Merge pull request #17110 from billfeng327/multipool-config
Bazel multipool config update, removed sentinel file
2018-11-28 18:54:21 -08:00
Guantao Liu 99673fcbe3
Merge pull request #17244 from guantaol/ev_epollbg
Preparation for the new background poller 'epollbg'
2018-11-28 15:37:28 -08:00
yang-g cdd698810b Move grpc_shutdown internals to a detached thread 2018-11-27 14:26:08 -08:00
Bill Feng 5810b53df3 merge conflict fix 2018-11-26 10:15:47 -08:00
ncteisen d3631f9c79 fix clang tidy 2018-11-26 06:11:30 -05:00
Yash Tibrewal 474b97e44e
Merge pull request #16455 from yashykt/httpplumbing
Add HTTP plumbing for Fathom
2018-11-21 13:26:49 -08:00
apolcyn 84bfc5d43a
Merge pull request #17267 from apolcyn/qos_json_driver_different_cred_types
Allow setting per-worker credential types in QPS benchmark driver
2018-11-21 12:17:24 -08:00
Yash Tibrewal 248e304671 Merge branch 'master' into httpplumbing 2018-11-21 11:48:41 -08:00
Alexander Polcyn d9dbb76969 Allow specifying specific credential types to reach specific works in QPS benchmark driver 2018-11-21 10:13:10 -08:00
Guantao Liu 458d9d28db Add the missing definition of shutdown_background_closure to bm_cq_multiple_threads 2018-11-20 11:09:06 -08:00
Yash Tibrewal bab043e865 Cleanup 2018-11-16 18:11:42 -08:00
Yash Tibrewal f7bb5fa9d9
Merge pull request #17232 from yashykt/cleanup1
Remove the std::unique_ptr for interceptor creators, instead use move semantics everywhere
2018-11-16 13:25:50 -08:00
Yash Tibrewal a60fd359cb Modify remaining usecases in test/cpp 2018-11-16 11:42:31 -08:00
Yash Tibrewal 626f1c9d53 Remove the std::unique_ptr, instead use move semantics everywhere 2018-11-15 16:49:43 -08:00
Yash Tibrewal 00c9c40004 Remove extraneous logging statements 2018-11-15 16:01:14 -08:00
Yash Tibrewal d4ebd30eb2 Add method to get status of send message op on POST_SEND_MESSAGE 2018-11-15 15:57:43 -08:00
Yash Tibrewal 0911e489e3 Add a method to check whether the message was received successfully 2018-11-15 13:55:56 -08:00
Mark D. Roth d18458720c Don't reset channel state on resolver failure when LB policy exists. 2018-11-15 09:36:49 -08:00
Yash Tibrewal ceeb28a360 s/count/count_/ 2018-11-14 18:02:54 -08:00
Yash Tibrewal 5d7d6c0fbd Add method to fail hijacked send messages 2018-11-14 17:35:26 -08:00
Jan Tattermusch e5f9f5ef46 disable grpc_tool_test on msan 2018-11-14 16:40:35 +01:00
Vijay Pai 637e4ea9fb
Merge pull request #17197 from vjpai/ctx_clear
Properly clear metadata and other structs when reusing ServerContext in callback API
2018-11-13 13:57:33 -08:00
Vijay Pai 0e29d7b9bc Properly clear metadata and other structs when reusing ServerContext 2018-11-13 12:44:56 -08:00
Vijay Pai a192fc6880 Fix clang-tidy issues 2018-11-11 14:32:55 -08:00
Yash Tibrewal 699c10386d Add method to fail recv msg for hijacked rpcs 2018-11-09 19:43:00 -08:00
hcaseyal 5203702f57
Merge pull request #17155 from hcaseyal/fix_namespace
Make namespace more explicit.
2018-11-08 09:22:11 -08:00
Jan Tattermusch 4e1610bd41
Merge pull request #17140 from vjpai/qps
Initialize values in memory before creating slice
2018-11-08 16:48:26 +01:00
Hope Casey-Allen e42afb0d63 Make namespace more explicit. 2018-11-07 19:48:14 -08:00
Bill Feng 9759a1b241 removed accidental submodule update 2018-11-07 15:21:04 -08:00
Vijay Pai 432b34bf74 Initialize value before creating slice 2018-11-07 12:33:19 -08:00
Moiz Haidry 729a0a9e5b
Merge pull request #17111 from mhaidrygoog/server_unary_callback_benchmark
Added benchmarks for Callback based Unary server
2018-11-07 12:02:22 -08:00
Moiz Haidry 1303ec7b53 Added benchmarks for Callback based Unary server 2018-11-07 10:08:51 -08:00
Yash Tibrewal 193b4b57ec
Merge pull request #17072 from yashykt/interceptor_cancellation
Interceptors should see a Cancellation notification
2018-11-06 14:56:24 -08:00
Soheil Hassas Yeganeh 48e4a81b05 Remeve memset(0) from arena allocated memory.
Callers are updated to properly initialize the memory.

This behavior can be overridden using GRPC_ARENA_INIT_STRATEGY
environment variable.
2018-11-05 10:12:39 -05:00
ncteisen 1b8bf9f190 Add blank line 2018-11-02 17:22:59 -04:00
ncteisen e7d59f718f clang format 2018-11-02 16:56:12 -04:00
ncteisen 131eedaa40 Add test 2018-11-02 16:55:06 -04:00
Yash Tibrewal 3ac7f2d24c
Merge pull request #17053 from yashykt/global_interceptor
Add global client interceptor factory
2018-11-02 08:56:16 -07:00
Yash Tibrewal b732e9c403 Make client interceptors see notification even if Cancel was done before the RPC was issued. Also add tests 2018-11-01 16:14:40 -07:00
Yash Tibrewal e2361a4751 Add server interceptors in end2end_test 2018-11-01 14:06:43 -07:00
Yash Tibrewal d736b1d309 Refactor tests slightly 2018-11-01 12:30:40 -07:00
Yash Tibrewal 3ec20b75ed Add tests for global interceptor 2018-10-31 14:21:25 -07:00
Vijay Pai 47d0d5bf1f Merge branch 'master' into server_callback 2018-10-30 12:29:35 -07:00
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
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