Commit Graph

3881 Commits

Author SHA1 Message Date
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
Juanli Shen e5d2139e1e Add client channel stress test 2017-11-14 16:07:23 -08:00
Yash Tibrewal 75122c2357 Address some PR comments 2017-11-14 01:36:28 -08:00
Craig Tiller e31e200dec Fix after merge 2017-11-13 14:04:47 -08:00
ncteisen 1037216ca1 Merge branch 'master' of https://github.com/grpc/grpc into surfacing-error-details 2017-11-13 08:04:23 -08:00
ncteisen 40737d67ee Add error string to recv status API 2017-11-13 08:02:35 -08:00
Craig Tiller 6def7103bf Merge github.com:grpc/grpc into lfe3 2017-11-10 15:43:47 -08:00
Craig Tiller be98d24841 clang-format after nullptr changes 2017-11-10 15:26:57 -08:00
Craig Tiller 4ac2b8e585 Enable clang-tidy as a sanity check, fix up all known failures 2017-11-10 14:14:17 -08:00
David Garcia Quintas 8c5c654fa3 Removed expiration_interval from LB proto 2017-11-10 13:59:12 -08:00
Yash Tibrewal 0032548674 Correction to closure.cc,bm_chttp2_hpack and few more 2017-11-10 10:48:15 -08:00
Jan Tattermusch 14b7d5227f
Revert "Switching from UNAUTHENTICATED to UNAVAILABLE for auth metadata failure" 2017-11-10 11:40:34 +01:00
Yash Tibrewal 3150744c71 Removing more exec_ctx instances 2017-11-09 18:27:37 -08:00
Yash Tibrewal 4e9265c828 Merge with master 2017-11-09 17:46:29 -08:00
Dan Wittmer 572dd8e897 Change adds a version of grpc::testing::interop::RunServer that allows clients to pass in optional condition_variable which will be notified when the server has started and port to use, avoiding the need for callers to work with command line options.
Above is used to support clients running the server in a separate thread in the same process as the tests are run to support local only tests.

Existing grpc::testing::interop::RunServer calls into new version passing in FLAGS_port and null condition variable.
2017-11-09 12:01:31 -08:00
yang-g 272eebbbcd Only allocate what we need in the last slice for proto serialization 2017-11-09 09:54:54 -08:00
Mark D. Roth 04c97d0e0d Add notify_on_receive_settings closure to chttp2 transport. 2017-11-09 09:14:14 -08:00
Mark D. Roth bcfd0f38fc Bool-ify is_client param. 2017-11-09 08:04:47 -08:00
Julien Boeuf 5addba4749 Switching from UNAUTHENTICATED to UNAVAILABLE for auth metadata failure
Typically these failures are symptomatic of a busy oauth2 auth
server and calls should be retried in this case.
2017-11-08 23:28:58 -08:00
Yash Tibrewal d9da7387b8
Merge pull request #13147 from yashykt/testc++ize
Convert test/core to C++
2017-11-07 17:02:23 -08:00
yang-g 0b9b7d2610 Use same cq for client and server 2017-11-07 11:27:02 -08:00
Yash Tibrewal 5e42211e7f Merge branch 'master' into testc++ize 2017-11-06 18:40:52 -08:00
Noah Eisen 74e7bd7d16
Merge pull request #13244 from ncteisen/streaming-ping-pong
Revert "Revert "Fix benchmark crash""
2017-11-06 14:58:14 -08:00
Yash Tibrewal 40422d5fa6 Merge master 2017-11-06 14:43:31 -08:00
Craig Tiller 9ab26feb68 Merge github.com:grpc/grpc into 50 2017-11-06 09:45:55 -08:00
Vijay Pai 6da4f51e06
Merge pull request #13257 from vjpai/pb_header
Make gRPC C++ library depend on protobuf_headers,  not protobuf
2017-11-03 17:04:31 -07:00
ncteisen e8b09eee58 Fix deadlock 2017-11-03 16:17:55 -07:00
Yuchen Zeng 9ec467343d
Merge pull request #13232 from y-zeng/connectivity_watcher
Lower backup poll interval in async_end2end_test
2017-11-03 15:47:21 -07:00
Vijay Pai 5e7ceebf6b Need explicit "protobuf" dependence on proto_utils_test 2017-11-03 22:37:03 +00:00
Yuchen Zeng 89f86c08e2 Lower backup poll interval in async_end2end_test 2017-11-03 12:13:21 -07:00
Craig Tiller baa14a975e Update clang-format to 5.0 2017-11-03 09:09:36 -07:00
ncteisen b669ff34eb Revert "Revert "Fix benchmark crash""
This reverts commit ac5522bef7.
2017-11-02 15:14:04 -07:00
Noah Eisen ac5522bef7
Revert "Fix benchmark crash" 2017-11-02 13:17:02 -07:00
Yash Tibrewal aae4ca01a3 Merge master 2017-11-02 11:19:16 -07:00
Craig Tiller 66b740a8c6
Merge pull request #13053 from ctiller/fcfix
Fix benchmark crash
2017-11-01 15:22:06 -07:00
Vijay Pai b611e249f3
Merge pull request #13216 from vjpai/tst_fixes
Remove unused code from thread_stress_test
2017-11-01 12:45:26 -07:00
Abhishek Kumar 8c2d222875
Merge pull request #13210 from y-zeng/end2end_fix
Set GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS for async_end2end_test
2017-11-01 12:07:40 -07:00
Yash Tibrewal 8bd88c459a Merge master 2017-11-01 11:49:00 -07:00
Yuchen Zeng 0d573083b9 Add comments for setting the env variable 2017-11-01 11:34:15 -07:00
Vijay Pai 4afcf5b566 Remove unused code from thread_stress_test 2017-11-01 10:44:01 -07:00
Yuchen Zeng 452b987a0d Set GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS for async_end2end_test 2017-10-31 19:54:38 -07:00
David Garcia Quintas 77827e1fb2 BG-poll very frequently to pick up subchannels's updates in LB tests 2017-10-31 19:26:08 -07:00
Yash Tibrewal 888691344e Merge branch 'master' into testc++ize 2017-10-31 11:24:36 -07:00
Vijay Pai 8afaf61fea
Merge pull request #13192 from vjpai/spp
Fix a data race in microbenchmark stats gathering
2017-10-30 21:54:23 -07:00
Yash Tibrewal 268685bcbd Merge branch 'master' into testc++ize 2017-10-30 16:28:56 -07:00
Vijay Pai 94a52266c9
Merge pull request #13082 from vjpai/friendly_fire
GPR_ATTRIBUTE_NO_TSAN doesn't reach through function calls, so use a friend
2017-10-30 16:16:20 -07:00
Vijay Pai f92b530068 Fix a data race in microbenchmark stats gathering 2017-10-30 15:10:56 -07:00
Yuchen Zeng 9e6837d397
Merge pull request #12732 from y-zeng/connectivity_watcher
Client channel backup poller
2017-10-30 14:47:24 -07:00
Vijay Pai cb36615ddd GPR_ATTRIBUTE_NO_TSAN doesn't reach through function calls, so use a friend 2017-10-30 13:31:07 -07:00
Mark D. Roth 662ec97674
Merge pull request #12878 from markdroth/pick_first_subchannel_list
Refactor subchannel_list code out of RR and use it in PF.
2017-10-30 13:07:59 -07:00
Yuchen Zeng cbb9296b72 Change the default interval to 5 seconds 2017-10-30 12:06:52 -07:00
Yuchen Zeng 7fa814fbeb Fix timeouts 2017-10-30 12:06:52 -07:00
Yuchen Zeng 0bad30a244 Use backup pollser instead of connectivity watcher 2017-10-30 12:06:52 -07:00
kpayson64 555b84506e
Merge pull request #12870 from kpayson64/call_bm_diff
Add call size bm diff
2017-10-27 16:28:52 -07:00
Vijay Pai d5b66f187c
Merge pull request #13107 from vjpai/reinternalize
Separate public and internal C++ interfaces - Revival of #11572
2017-10-27 14:57:40 -07:00
Ken Payson 667aa2b990 Add call size bm_diff 2017-10-27 14:33:17 -07:00
Mark D. Roth 6e5ce7288d Assume that subchannels start in state IDLE. 2017-10-27 09:37:41 -07:00
Ken Payson 918ce7a686 Fix QPS Async Client Next loop 2017-10-27 02:48:15 -07:00
yang-g 37f1bd13ab clear the request 2017-10-26 14:42:51 -07:00
Vijay Pai 06e174a088 Separate public and internal C++ interfaces 2017-10-26 14:28:26 -07:00
Yash Tibrewal 39aed1ae8b Remove unnecessary extern Cs 2017-10-25 17:04:35 -07:00
yang-g 903981adb6 Catch out of order error code 2017-10-25 10:46:35 -07:00
kpayson64 1bf7207852 Merge pull request #13084 from kpayson64/cq_lambda
CompletionQueue DoThenAsyncNext
2017-10-25 10:28:02 -07:00
Ken Payson 42bd87e376 Adds gRPC Experimental CQ DoThenAsyncNext lambda API 2017-10-25 09:13:30 -07:00
Yuchen Zeng c01c7cbd85 Merge pull request #12219 from y-zeng/http2_connector
Add the endpoint used by the handshake process to connector's pollset_set
2017-10-24 11:54:29 -07:00
Juanli Shen a5b34a502a Merge pull request #13108 from AspirinSJL/reomve_duplicate
Remove duplicate message member in test
2017-10-24 11:32:16 -07:00
ncteisen c296e82e11 clang fmt 2017-10-24 08:58:14 -07:00
ncteisen 9e3eedb6af Remove old header benchmark 2017-10-24 08:33:00 -07:00
ncteisen 6bf4bcef04 Fix bm_diff 2017-10-23 22:19:01 -07:00
Yuchen Zeng 6a0874b405 Fix bm_chttp2_transport 2017-10-23 20:47:53 -07:00
Yuchen Zeng ca31256597 Remove redundant WaitForConnected 2017-10-23 18:26:21 -07:00
Juanli Shen cbdb5174ca Remove duplicate message member in test 2017-10-23 14:44:52 -07:00
Craig Tiller 8c96701cf5 Ensure that we respect requested channel args in all cases 2017-10-20 12:25:36 -07:00
Vijay Pai 25d2466a22 Merge pull request #12362 from vjpai/inproc_qps
QPS test that uses inproc transport
2017-10-20 09:43:29 -07:00
yang-g 83085aa74f Add a microbm, seeing 195ns with current impl and 162ns with new impl 2017-10-19 16:11:06 -07:00
Vijay Pai 088112fea1 Create inproc version of QPS test and add a few simple tests of this to standard testing suite. 2017-10-19 14:29:13 -07:00
Yash Tibrewal 0ee7574732 Removing instances of exec_ctx being passed around in functions in
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
2017-10-18 17:12:19 -07:00
Craig Tiller 25b037fe9d Fix benchmark crash 2017-10-18 14:03:08 -07:00
Craig Tiller f83b6ce151 Fix compilation 2017-10-18 13:02:44 -07:00
Craig Tiller 09247ac453 Merge branch 'pid++' into flow++ 2017-10-18 12:00:37 -07:00
yang-g c010d1d18a Update benchmark according to new encoding method 2017-10-16 17:57:46 -07:00
yang-g c94c7cc5b5 restore existing fixtures 2017-10-16 17:57:46 -07:00
yang-g 377636f4d2 Make hpack micro bm more representative 2017-10-16 17:57:46 -07:00
Craig Tiller 31c258a549 Merge branch 'pid++' into flow++ 2017-10-16 15:44:02 -07:00
Jan Tattermusch 320e703ad9 Merge pull request #12924 from jtattermusch/json_run_localhost_timeouts_sanitizers
More reasonable timeouts for json_run_localhost (poll-cv and sanitizers)
2017-10-16 18:56:50 +02:00
Alexander Polcyn 7a57b0c4a1 explicitly recycle every port after every test run 2017-10-13 17:01:32 -07:00
Craig Tiller 3273648a87 flow control fixes 2017-10-12 22:02:28 -07:00
Craig Tiller fba6475805 Merge github.com:grpc/grpc into chttp2_timer 2017-10-12 16:42:38 -07:00
Craig Tiller 2145d2cee4 clang-format 2017-10-12 15:51:47 -07:00
Vijay Pai 4f0cd0e82c Add flow control to inproc transport so send needs a matching recv; fix
some tests that assumed some sends could always go out
2017-10-11 21:59:33 -07:00
Craig Tiller eab5bcb96f Merge github.com:grpc/grpc into chttp2_timer 2017-10-11 09:49:23 -07:00
Craig Tiller 4048569477 Fix compilation 2017-10-11 08:29:42 -07:00
Craig Tiller 99fafa17a3 Fix compilation 2017-10-11 08:26:32 -07:00
Vijay Pai ca46ce10b0 Merge pull request #12939 from vjpai/proxy_e2e
Add a little sleep in end2end_test service to make short deadlines actually expire
2017-10-10 23:20:09 -07:00
Vijay Pai ac8921be5e Merge branch 'proxy_inproc' into proxy_e2e 2017-10-10 21:01:56 -07:00
Vijay Pai 07165cbaf2 Only put server to sleep when explicitly requested 2017-10-10 21:00:31 -07:00
Vijay Pai a6294056c8 Run ProxyEnd2End tests (without proxy) for inproc transport 2017-10-10 20:47:54 -07:00
Craig Tiller 703d298521 Merge github.com:grpc/grpc into qps_failya 2017-10-10 20:42:18 -07:00
Vijay Pai 9f10a587a9 Make short deadlines actually expire 2017-10-10 14:59:32 -07:00
Jan Tattermusch 779ae6f8b7 cap json_run_localhost to 10 mins under sanitizers 2017-10-10 12:40:44 +02:00
Craig Tiller c18ad11837 Wait until all clients connected before starting streams 2017-10-09 13:44:10 -07:00
Craig Tiller f6cd77c48d Stability fixes 2017-10-09 13:28:00 -07:00
Vijay Pai 156e8bf617 Make sure to accept expected tags exactly once 2017-10-09 12:29:29 -07:00
Muxi Yan 03fc857a6f Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface 2017-10-06 18:47:09 -07:00
Craig Tiller abecd39477 Merge github.com:grpc/grpc into flowctl+millis 2017-10-06 08:46:39 -07:00
Vijay Pai 4bc0b2b661 Merge pull request #12852 from vjpai/rent
Reduce # of message sizes used in each async_end2end_test scenario
2017-10-05 18:08:03 -07:00
Vijay Pai b83077bace Merge pull request #12855 from vjpai/new_const
Add some const
2017-10-05 18:07:03 -07:00
Vijay Pai f063f7951f Add some const that is now allowed 2017-10-05 15:41:40 -07:00
Vijay Pai 541974a709 Eliminate magic #s, follow API 2017-10-05 15:16:22 -07:00
Vijay Pai c4afc644f7 Reduce # of message sizes used in each scenario 2017-10-05 14:40:34 -07:00
Yang Gao 3734801aad Merge pull request #12828 from yang-g/delete_stress_clients
Properly clean up stress test clients
2017-10-05 13:37:52 -07:00
Craig Tiller 76eab735f4 Merge github.com:grpc/grpc into flowctl+millis 2017-10-05 08:36:34 -07:00
Jan Tattermusch 768c894519 reduce timeout for json_run_localhost 2017-10-05 14:03:11 +02:00
yang-g 53a64b9936 Properly clean up stress test clients 2017-10-04 12:36:49 -07:00
Craig Tiller ced7653a1c Merge branch 'flowctlN' into flowctl+millis 2017-10-02 11:54:10 -07:00
Yuchen Zeng 5dd2f48e24 Fix windows build 2017-09-29 14:52:33 -07:00
Yuchen Zeng b5eaf7734c gRPC CLI batch mode 2017-09-29 14:51:10 -07:00
Craig Tiller 1e868f0f95 Merge github.com:grpc/grpc into flowctl+millis 2017-09-29 11:18:26 -07:00
yang-g 3c00328b62 Add a simple test 2017-09-28 22:00:35 -07:00
apolcyn e4895675f2 Merge pull request #12651 from apolcyn/cares_srv_master_after_uinittests
Add c-ares resolver tests against GCE DNS, redo of #12010
2017-09-28 12:15:40 -07:00
Alexander Polcyn 9e3a76ba71 Add c-ares resolver tests against GCE DNS, using the unit test. 2017-09-27 16:47:56 -07:00
Juanli Shen fe40815682 Readd grpclb fallback 2017-09-27 12:27:20 -07:00
Muxi Yan 8fa4d15513 Fix C++ builds 2017-09-26 09:53:55 -07:00
Yuchen Zeng 806c9c8aba Merge pull request #12631 from y-zeng/dns_fix
Drain readable fds in grpc_ares_ev_driver_posix
2017-09-22 14:16:44 -07:00
Craig Tiller 710334577c Fix sanity 2017-09-22 07:47:15 -07:00
Craig Tiller cfb2da4445 Merge github.com:grpc/grpc into flowctl+millis 2017-09-22 07:21:12 -07:00
Vijay Pai 2046d0b3c5 Add unary call mode to GenericStub to allow generic RPC with 1 CQ trip 2017-09-21 22:23:44 -07:00
Vijay Pai 87973ea398 Merge pull request #12573 from grpc/revert-12572-revert-12214-cereal_eye_sir
Fix-forward: Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer
2017-09-21 22:21:19 -07:00
Craig Tiller 6bfb8589ad Merge github.com:grpc/grpc into flowctl+millis 2017-09-21 15:12:43 -07:00
Craig Tiller f7225eb5f6 Fix some stalling in bm_fullstack_trickle, also switch to synthetic time 2017-09-21 14:59:28 -07:00
David G. Quintas 6bdd49b3ce Merge pull request #12627 from dgquintas/fix_grpclbend2end_flakiness_for_the_nth_time_already
Backends must be up before some grpclb tests start.
2017-09-21 13:40:40 -07:00
Craig Tiller 05d77d8b21 Merge github.com:grpc/grpc into flowctl+millis 2017-09-21 13:39:01 -07:00
Vijay Pai efce6e1e50 Revert "Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer"" 2017-09-21 13:12:52 -07:00
Vijay Pai 22410e0d99 Merge pull request #12623 from vjpai/one_sided
C++ QPS tests: Cancel outstanding streams when shutting down the async client
2017-09-21 12:20:44 -07:00
Craig Tiller ff58b27696 Make generic_test tolerant of encoding 2017-09-21 10:40:42 -07:00
Craig Tiller 1a8f1e831d Make alarm_test tolerant of threading 2017-09-21 10:07:36 -07:00
Craig Tiller c1f288dedb Bug fixes, remove async e2e dependence on flow control size 2017-09-20 21:59:21 -07:00
Yuchen Zeng 46c821fe81 Remove extra record_to_resolve 2017-09-20 19:23:22 -07:00
Yuchen Zeng 79c12b9dc0 Drain readable fd 2017-09-19 14:23:37 -07:00
Craig Tiller 6a34067d16 Merge github.com:grpc/grpc into grpc_millis 2017-09-19 12:44:15 -07:00
Craig Tiller d0ceb377a4 clang-format 2017-09-19 12:02:31 -07:00
Craig Tiller 4aa2331958 Fix compile 2017-09-19 19:01:56 +00:00
Vijay Pai 43b55221e4 Cancel outstanding streams when shutting down the client 2017-09-19 11:45:56 -07:00
Craig Tiller 350a4239fe Fix compile error 2017-09-18 22:41:24 -07:00
David Garcia Quintas 588e36a3e3 Get rid of magic numbers 2017-09-18 20:01:27 -07:00
David Garcia Quintas 7d764673ef Backends must be up before some grpclb tests start. 2017-09-18 19:10:54 -07:00
Craig Tiller 50448beab3 Merge github.com:grpc/grpc into grpc_millis 2017-09-18 13:56:51 -07:00
Craig Tiller adbcec4f57 Merge github.com:grpc/grpc into pollset_kick_stats 2017-09-18 08:57:19 -07:00
Nicolas Noble e63cdce8b6 Merge pull request #12269 from vjpai/race_issues
Allow construction of async stream objects without triggering async operations
2017-09-15 16:00:45 -07:00
apolcyn 39e4fda0c8 Merge pull request #12210 from apolcyn/local_dns_server
Run a local DNS server in run_tests and add c-ares tests with it
2017-09-15 12:38:03 -07:00
Vijay Pai 4b047a3bff Construction of streams shouldn't require triggering async ops 2017-09-14 17:55:13 -07:00
Alexander Polcyn 27bf05d003 Add tests for c-ares wrapper using a local DNS server. 2017-09-14 14:32:30 -07:00
Yash Tibrewal c086c7e25a Merge branch 'master' into revert_lb_stuff 2017-09-14 10:05:46 -07:00
Jan Tattermusch 5432dd8874 Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer" 2017-09-14 17:55:42 +02:00
Ken Payson 01e83b55e4 Revert "Add fallback (use backends from resolver if can't reach balancer) to grpclb."
This reverts commit aba0a0a544.
2017-09-13 19:45:07 -07:00
kumaralokgithub e93da819e0 Merge pull request #12549 from kumaralokgithub/bamm2
Add independent library targets for newly added .h files for microben…
2017-09-13 18:03:45 -07:00
Vijay Pai 4a4bd1cd2d Merge pull request #12214 from vjpai/cereal_eye_sir
Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer
2017-09-13 13:43:39 -07:00
Alok Kumar 6b84005651 Add independent library targets for newly added .h files for microbenchmarks. Also fix includes in fullstack_fixtures.h 2017-09-13 13:34:45 -07:00
Craig Tiller 64f8b129dd Merge github.com:grpc/grpc into pollset_kick_stats 2017-09-13 12:39:21 -07:00
Juanli Shen 3bf7b714a5 Merge pull request #12187 from AspirinSJL/lb_fallback
Add LB fallback to use when we can't contact any balancer.
2017-09-13 10:46:44 -07:00
Craig Tiller 8e87c74fe9 Fix compilation for C++ 2017-09-11 14:06:09 -07:00
Craig Tiller bbe282f600 Merge github.com:grpc/grpc into grpc_millis 2017-09-11 12:11:40 -07:00
Craig Tiller 4aac9a664a Merge github.com:grpc/grpc into pollset_kick_stats 2017-09-11 12:09:03 -07:00
Juanli Shen aba0a0a544 Add fallback (use backends from resolver if can't reach balancer) to grpclb. 2017-09-11 09:22:48 -07:00
Craig Tiller ed26a49b2c Add annotation 2017-09-10 20:59:11 -07:00
Craig Tiller 55863ff527 Merge github.com:grpc/grpc into write_completion 2017-09-08 14:39:15 -07:00
David G. Quintas 729448f2ed Merge pull request #12318 from dgquintas/fix_epoll1_flakiness_client_lb_e2e
{grpclb,client_lb}_end2end: Fix epoll1 flakes
2017-09-08 13:46:54 -07:00
Craig Tiller fabb513fe4 Merge 2017-09-08 11:45:11 -07:00
Craig Tiller 4f5acf73c9 Merge github.com:grpc/grpc into pollset_kick_stats 2017-09-08 11:38:41 -07:00
David G. Quintas 11b4ddde59 Merge pull request #12200 from dgquintas/rename_lr_to_plugin
Renamed load_reporting.{c,h} to load_reporting_plugin.{c,h}
2017-09-08 10:22:08 -07:00
Vijay Pai 7f6a27a4d3 Merge pull request #12372 from vjpai/armalarmadingdong
Core API change: Decouple alarm construction from setting to avoid races in MT code
2017-09-07 18:34:56 -07:00
kumaralokgithub bf3b8445fe Merge pull request #12402 from kumaralokgithub/master
Partition microbenchmarks to be easily shareable with google specific transports
2017-09-07 18:33:10 -07:00
Craig Tiller 56969c2784 Merge github.com:grpc/grpc into pollset_kick_stats 2017-09-07 15:54:59 -07:00
David Garcia Quintas 1faa48ead3 Merge branch 'master' of github.com:grpc/grpc into rename_lr_to_plugin 2017-09-07 15:29:03 -07:00
Vijay Pai 677395558d Allow SerializationTraits to use grpc::ByteBuffer, not just grpc_byte_buffer 2017-09-07 15:18:07 -07:00
Craig Tiller 38b15c8ca3 Merge branch 'write_completion' into write_completion_stats 2017-09-07 14:48:52 -07:00
Craig Tiller dfc6cffdf8 Merge github.com:grpc/grpc into write_completion 2017-09-07 14:48:40 -07:00
Craig Tiller 9e3af382fb Merge github.com:grpc/grpc into stats_histo 2017-09-07 14:47:55 -07:00
Craig Tiller da8a169928 Merge github.com:grpc/grpc into grpc_millis 2017-09-07 14:47:26 -07:00
Mark D. Roth 8941f607d6 Merge pull request #12369 from markdroth/call_combiner
Second attempt at call combiner PR
2017-09-07 14:43:47 -07:00
David Garcia Quintas c3c7e5548f {grpclb,client_lb}_end2end: Fix epoll1 flakes 2017-09-07 14:24:58 -07:00
Craig Tiller 99bdb388a7 Merge branch 'write_completion' into write_completion_stats 2017-09-07 13:39:45 -07:00
Craig Tiller a8fc020e0f Merge github.com:grpc/grpc into write_completion 2017-09-07 13:39:26 -07:00
Craig Tiller 022ad3ae89 Merge branch 'stats_histo' into write_completion_stats 2017-09-07 13:01:56 -07:00
Yuchen Zeng b6ef6e9ff5 Merge pull request #12080 from y-zeng/connectivity
Reconnect channels automatically in C++ clients
2017-09-07 12:59:41 -07:00
Craig Tiller ff952d292f Merge github.com:grpc/grpc into write_completion 2017-09-07 12:52:44 -07:00
Craig Tiller cd78a50084 Merge github.com:grpc/grpc into stats_histo 2017-09-07 12:19:47 -07:00
Vijay Pai 58c33ba19b Decouple alarm construction from setting to avoid races in MT code 2017-09-07 11:34:13 -07:00
Craig Tiller c1453ca8c2 Revert "Annotate benign race"
This reverts commit 6869da4d65.
2017-09-07 10:19:43 -07:00
Alok Kumar c2ec4d6ea9 Merge remote-tracking branch 'upstream/master' 2017-09-06 21:25:47 -07:00
David Garcia Quintas 0822d331df s/load_reporting/server_load_reporting 2017-09-06 18:18:48 -07:00
Alok Kumar 1b6f4fc79f Clang format modified files 2017-09-06 17:15:04 -07:00
Alok Kumar dd9916d364 Fix microbenchmarks BUILD file 2017-09-06 17:15:04 -07:00
Alok Kumar e0399c29c5 Partition microbenchmarks to be easily sharable for google specific transports 2017-09-06 17:14:38 -07:00
Craig Tiller 3749a6d417 Merge github.com:grpc/grpc into stats_histo 2017-09-06 13:28:22 -07:00
David Garcia Quintas a28cca8447 Condition variables are not latches, again 2017-09-06 12:57:25 -07:00
Yuchen Zeng b5dd3abad9 Increase the grace period in ReconnectChannel tests 2017-09-06 11:33:22 -07:00
Craig Tiller 6869da4d65 Annotate benign race 2017-09-06 09:49:02 -07:00
Craig Tiller e1101cf099 Update Bazel for new systems 2017-09-06 09:42:20 -07:00
Craig Tiller b675e0a0af Annotate benign race 2017-09-06 09:22:39 -07:00
Craig Tiller a82b6dbac8 Merge github.com:grpc/grpc into write_completion 2017-09-05 12:47:07 -07:00
Nicolas "Pixel" Noble fc49d6edab Splitting gmock out of gtest. 2017-09-01 23:53:34 +02:00
Craig Tiller ee090ec975 Merge github.com:grpc/grpc into wc 2017-09-01 10:30:11 -07:00
Craig Tiller 9bebf8b22a C++ API for write-through 2017-09-01 10:20:13 -07:00
Craig Tiller 6ba448fb55 Merge github.com:grpc/grpc into write_completion 2017-09-01 10:09:30 -07:00
Craig Tiller 0ff222a23b Add pollset_kick stats 2017-09-01 09:41:43 -07:00
Mark D. Roth 764cf04a13 Revert "Revert "Implement call combiner""
This reverts commit bf19961d0a.
2017-09-01 09:00:06 -07:00
Craig Tiller 2897235609 Expose stats into qps_driver 2017-08-31 15:52:57 -07:00
Craig Tiller 890f542498 Merge branch 'stats' into stats_histo 2017-08-31 12:24:15 -07:00
Craig Tiller ccad38227f Merge github.com:grpc/grpc into stats 2017-08-31 12:23:53 -07:00
Craig Tiller 5489d41c15 Expose histograms via microbenchmarks 2017-08-31 12:20:04 -07:00
Craig Tiller 8fd40d5ed9 Merge github.com:grpc/grpc into wc 2017-08-31 10:54:11 -07:00
Nicolas "Pixel" Noble 90df76b463 Merge branch 'master' of https://github.com/grpc/grpc into visibility 2017-08-30 23:13:25 +02:00
Nicolas "Pixel" Noble 2bc5e3ac40 Moving visibility and package creation to the build system. 2017-08-30 19:18:37 +02:00
Mark D. Roth bf19961d0a Revert "Implement call combiner" 2017-08-29 16:59:07 -07:00
Craig Tiller 03c908fc9e Merge github.com:grpc/grpc into stats 2017-08-29 12:34:10 -07:00
Craig Tiller d9b82bdecb Merge github.com:grpc/grpc into grpc_millis 2017-08-29 12:16:56 -07:00
Vijay Pai 6defb325d9 Remove some pre-C++11-style workarounds 2017-08-29 08:44:54 -07:00
Yuchen Zeng eeea43fa24 Increase the grace period in ReconnectChannel tests 2017-08-28 22:57:28 -07:00
David Garcia Quintas 52ba957f83 Removed in_connectivity_shutdown from RR 2017-08-28 06:01:52 -07:00
Yuchen Zeng 4a11ecc076 Add ChannelConnectivityWatcher::Ref()/Unref() 2017-08-25 15:17:45 -07:00
Mark D. Roth ff4f2db4b9 Merge pull request #11566 from markdroth/call_combiner
Implement call combiner
2017-08-25 09:05:04 -07:00
Mark D. Roth 76e264b8df Implement call combiner. 2017-08-25 09:03:33 -07:00
Noah Eisen cad427b2f7 Merge pull request #12227 from ncteisen/bazel-microbenchmarks
Microbenchmarks Work With Bazel
2017-08-24 14:13:08 -07:00
Vijay Pai c38955501b Move some internal includes to the right places 2017-08-24 10:16:40 -07:00
Yuchen Zeng b4481a9a13 Share one monitoring thread between channels 2017-08-24 03:13:42 -07:00
Yuchen Zeng bfb4e06e3c Check connectivity intermittently 2017-08-23 23:47:15 -07:00
Yuchen Zeng a2e506e8d9 Avoid using timers 2017-08-22 20:46:52 -07:00
Yuchen Zeng ee3e3310bb Add reconnect channel tests 2017-08-22 18:56:25 -07:00
ncteisen c302eb9840 Microbenchmarks work with bazel 2017-08-22 12:24:54 -07:00
David Garcia Quintas 3732f869e1 PR comments 2017-08-22 11:17:13 -07:00
David Garcia Quintas a2c1df4dcd RR: Initialize subchannel connectivity state 2017-08-21 15:20:58 -07:00
Vijay Pai e1418e4ab1 Switch to idiomatic Slice API 2017-08-09 22:03:16 -07:00
Vijay Pai ce58cf8c44 Add Slice constructors to match all grpc_slice cases 2017-08-04 07:48:48 -07:00
Vijay Pai e252e5fd9d Merge pull request #12025 from vjpai/bazel_unsec
Test grpc++_unsecure in Bazel build
2017-08-03 12:10:57 -07:00
David G. Quintas 8eb47ed250 Merge pull request #12051 from dgquintas/fix_grpclbend2end_condvars
Condition variables are not latches
2017-08-03 09:40:56 -07:00
Vijay Pai 81522c8ebe Add unsecure libraries to bazel build targets 2017-08-02 19:44:32 -07:00
David Garcia Quintas ecabe09b89 Condition variables are not latches 2017-08-02 18:39:31 -07:00
ncteisen af313caab8 Eliminate copy in QPS Driver 2017-08-02 16:05:48 -07:00
ncteisen ab04027e47 Merge branch 'master' of https://github.com/grpc/grpc into flow-control-v3 2017-08-01 10:58:29 -07:00
Vijay Pai dc1cfe9e21 Merge pull request #11978 from vjpai/remake
Clean up grpc++_unsecure so that it doesn't require secure content anymore
2017-07-31 12:58:44 -07:00
Yang Gao f787594e68 Merge pull request #11703 from yang-g/cq_shutdown
Allow adding events to cq after shutdown is called.
2017-07-31 07:37:31 -07:00
Vijay Pai 4280725bb3 Clean up grpc++_unsecure so that it doesn't require secure content anymore 2017-07-30 23:53:27 -07:00
ncteisen fb193a1e2f Merge branch 'master' of https://github.com/grpc/grpc into flow-control-v3 2017-07-28 15:47:32 -07:00
yang-g 7d6b914f98 Change return type to bool 2017-07-28 12:49:40 -07:00
yang-g 0eaf7debd2 Allow adding events to cq after shutdown is called. 2017-07-28 12:49:40 -07:00
David G. Quintas 433f7bce2d Merge pull request #11948 from dgquintas/grpclb_fix_rr_shutdown_connectivity
Fix bug in handling of RR connectivity transition to SHUTDOWN
2017-07-28 11:59:17 -07:00
David G. Quintas aaf623ac66 Merge pull request #11965 from dgquintas/grpclb_lb_channel_conn_state_subscription
Watch the LB channel using the right initial conn. state
2017-07-28 11:00:18 -07:00
David Garcia Quintas fc950fbeb5 Fix bug in handling of RR connectivity transition to SHUTDOWN 2017-07-27 19:56:30 -07:00
ncteisen 0133cc6fd8 Avoid benchmarking allocs 2017-07-27 19:45:24 -07:00
David Garcia Quintas 6a7935e14e Watch the LB channel using the right initial conn. state 2017-07-27 19:24:52 -07:00
Mark D. Roth e7751807e2 Use new protocol for reporting dropped calls to grpclb balancer. 2017-07-27 12:31:45 -07:00
David Garcia Quintas c22c65b58d grpclb: deal with all-drops serverlists 2017-07-25 14:22:20 -07:00
Vijay Pai 196d3d6ee8 Merge pull request #11928 from grpc/revert-11572-internalize
Revert "Separate internal-only and public parts of C++ API"
2017-07-25 10:26:01 -07:00
Vijay Pai 3b914413a8 Merge pull request #11907 from vjpai/testlast
Move gtest last
2017-07-25 10:04:43 -07:00
Vijay Pai bc81eee4d4 Remove a follow-on internal that was added post-internalization, keep the templated QPS worker rather than going back to internal API 2017-07-25 01:51:28 -07:00
Vijay Pai 6abd20020b Revert "Separate internal-only and public parts of C++ API" 2017-07-25 00:43:30 -07:00
Yuchen Zeng 9511aefaa9 Merge pull request #11786 from y-zeng/fd_orphan
Support closed fd in grpc_fd_orphan()
2017-07-24 11:32:22 -07:00