Commit Graph

51 Commits

Author SHA1 Message Date
Alexander Polcyn 550621c1b5 Make local DNS server tests more generic 2018-05-11 16:24:39 -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
Alexander Polcyn 6f8f914f8d cleanup, and get rid of unnecessary timeouts in two places 2018-05-01 20:52:57 -07:00
Alexander Polcyn 0d98c8d9f0 Fix a bug in an address sorting comparison 2018-04-26 20:51:56 -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
Alexander Polcyn 046ad6b13f Fix bug in addr sorting shutdonw 2018-04-19 10:20:20 -07:00
Adele Zhou 3f322e1088 Fix a memory leak 2018-04-10 17:07:33 -07:00
Alex Polcyn 11a45a8057 Fix c-ares tests under gcc musl 2018-04-05 08:04:28 +00: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
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
Alexander Polcyn 1eaac47f52 Fix arg parsing in resolver test script 2018-03-13 10:46:59 -07:00
Alexander Polcyn 0a05b782fe Move python DNS utilities to utils subdirectory 2018-03-06 19:22:34 -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
Alexander Polcyn 02ce860592 Add a flag to the resolver_component_test that permits extra addresses 2018-02-28 05:49:38 +00: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
Mark D. Roth 209f644f04 Convert resolver API to C++. 2018-02-08 10:26:46 -08:00
Mehrdad Afshari 37629bacf5 Regenerate projects 2018-02-07 11:45:34 -08:00
Vijay Pai 1acfaca3e6 Merge branch 'master' into gpr_review_host_port 2018-02-02 11:21:07 -08:00
Adele Zhou 8b616a890a Fix path relative to TEST_SRCDIR 2018-01-31 15:28:49 -08:00
Vijay Pai ae376bf9d9 Privatize host_port.h; was not used in any wrapped language implementation 2018-01-25 23:06:24 -08:00
Mark D. Roth dbdf495f61 Split lib/support into lib/gpr and lib/gpr++. 2018-01-18 11:21:12 -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 c354269ba7 Remove _ prefixed variable names 2017-11-29 19:07:44 -08:00
Yash Tibrewal 177039b2f8 Merge master 2017-11-16 19:31: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
Yash Tibrewal 75122c2357 Address some PR comments 2017-11-14 01:36:28 -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
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
Yash Tibrewal 40422d5fa6 Merge master 2017-11-06 14:43:31 -08:00
Craig Tiller baa14a975e Update clang-format to 5.0 2017-11-03 09:09:36 -07:00
Yash Tibrewal 39aed1ae8b Remove unnecessary extern Cs 2017-10-25 17:04:35 -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 1e868f0f95 Merge github.com:grpc/grpc into flowctl+millis 2017-09-29 11:18:26 -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
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
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
Craig Tiller 350a4239fe Fix compile error 2017-09-18 22:41:24 -07:00