Commit Graph

2883 Commits

Author SHA1 Message Date
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
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
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
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