Commit Graph

3164 Commits

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