Lidi Zheng
2231c2ba77
Introduce Python import sorting to our sanity test suite ( #26768 )
...
* Add isort_code.sh to sanity tests
* Run tools/distrib/isort_code.sh
* Fine tune the import order for relative imports
* Make pylint and project generation happy
* Fix a few corner cases
* Use --check instead of --diff
* The import order impacts test result somehow
* Make isort print diff and check output at the same time
* Let tools/run_tests/python_utils be firstparty library
* Run isort against latest HEAD
2021-07-26 12:31:21 -07:00
Jan Tattermusch
7351fbb7ac
Make ARM64 C/C++ bazel tests greener ( #26518 )
...
* add no_arm64 tag to resolver_component_tests_runner_invoker tests
* skip no_arm64 tests when running on arm64
* increase kokoro jobs timeout for ARM64 C/C++ bazel tests
* use 8 core instance for arm64 bazel C/C++ tests
2021-06-21 18:31:54 +02:00
AJ Heller
25d91e3091
New iomgr implementation backed by the EventEngine API ( #26026 )
...
This code adds an iomgr implementation that's backed by an EventEngine. This uses the EventEngine API alone, and separate work will introduce an EventEngine prototype to plug into it.
See also drfloob#1: @nicolasnoble has a pull request against this branch, implementing the libuv-based EventEngine. One goal here is to implement the iomgr code such that it can be merged independently without affecting normal builds.
This implementation can be built using bazel build --cxxopt='-DGRPC_USE_EVENT_ENGINE' :all
Some shortcuts are being taken to get a working, testable version of the engine. EventEngines are not pluggable, for example.
2021-06-18 12:30:09 -07:00
Mark D. Roth
4c40ee3f78
move parse_address and sockaddr_utils out of iomgr directory ( #26077 )
...
* move parse_address and sockaddr_utils out of iomgr directory
* clang-format
* fix python
* fix for import
* fix build file for import
2021-04-30 08:21:58 -07:00
Esun Kim
460898f11c
Migrated from grpc_error_string to grpc_error_std_string ( #26068 )
...
* Added grpc_error_std_string
* Migrated to grpc_error_std_string
2021-04-23 16:31:54 -07:00
Esun Kim
ca945a58e9
Introduced grpc_error_handle ( #25902 )
...
- Define grpc_error_handle
- Replace grpc_error* with grpc_error_handle
2021-04-22 12:00:28 -07:00
apolcyn
a98819007d
Revert "Convert grpc_ares_wrapper to C++ ( #25108 )" ( #25761 )
...
This reverts commit 2ee70175bd .
2021-03-18 21:55:14 -07:00
apolcyn
2ee70175bd
Convert grpc_ares_wrapper to C++ ( #25108 )
2021-03-17 13:47:29 -07:00
Yash Tibrewal
f4e55b85bc
Replace disrespectful term
2021-02-08 15:29:53 -08:00
yang-g
c6c3dc57af
Remove unneeded filter
2021-01-06 10:59:56 -08:00
apolcyn
78dc1394fd
Merge pull request #25064 from apolcyn/merge_ares_structs
...
Move grpc_ares_ev_driver and fd_node into grpc_ares_wrapper.cc
2021-01-06 10:32:44 -08:00
apolcyn
91f80720a3
Merge pull request #25069 from apolcyn/plumb_extra_args
...
Add a mechanism to plumb arbitary command line flags to the c-ares unit test binary
2021-01-05 14:39:31 -08:00
Alexander Polcyn
882243606f
Add a mechanism to plumb arbitary command line flags to the c-ares unit test binary
2020-12-28 23:22:54 -08:00
Alexander Polcyn
17a49209bc
Remove unnecessary signal-forwarding/timeout thread in c-ares unit test driver
2020-12-28 16:50:17 -08:00
Alexander Polcyn
8215b21dc1
move grpc_ares_ev_driver and fd_node definitions into grpc_ares_wrapper.cc
2020-12-28 11:51:16 -08:00
Alexander Polcyn
9480039754
Fix formatting
2020-12-16 11:00:51 -08:00
Alexander Polcyn
aef3bb0157
Remove unnecessary explicit bytes conversion
2020-12-16 10:17:17 -08:00
Alexander Polcyn
408a02379d
Make c-ares resolver unit tests runnable under python3
2020-12-15 23:51:19 -08:00
Jan Tattermusch
f18a02253f
remove Flaky=true flag for some tests
2020-12-15 08:55:00 +01:00
Esun Kim
2ff84ed8c2
C++ cast for void*
2020-11-30 17:29:15 -08:00
Esun Kim
ec0b88a5d7
Fix google-readability-casting
2020-11-30 17:27:51 -08:00
Esun Kim
75e3e660fd
Fix google-readability-todo
2020-11-25 10:09:42 -08:00
Lidi Zheng
5ea36eb47c
Revert "Revert "Resolve warnings and deprecations in several scripts in tools""
2020-11-17 16:30:26 -08:00
Jan Tattermusch
dcb3f8c73e
Revert "Resolve warnings and deprecations in several scripts in tools"
2020-11-16 16:21:28 +01:00
Lidi Zheng
76aade3eac
Resolve warnings and deprecations in several scripts in tools
2020-11-13 12:17:38 -08:00
capstan
131579d52d
Roll forward of commit 7883b51: Use abseil's flags in tests.
...
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493 .
This reverts commit da66b7d14e .
NEW:
* Adds references to `absl/flags/declare.h`, new to LTS 2020923.2 imported in commit 5b43440 .
* Works around MSVC 2017 compiler error with large help text on flags by reducing the help text.
2020-11-06 16:07:19 +01:00
Nathan Herring
da66b7d14e
Revert "Abseil Flags"
2020-10-24 15:19:55 -07:00
capstan
7883b5133d
Use abseil's flags in tests.
...
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493 .
2020-10-23 19:36:33 +02:00
Esun Kim
e37dab3b7f
Merge pull request #24483 from veblush/tidy-readability-redundant-control-flow
...
[Clang-Tidy] Enable readability-redundant-control-flow
2020-10-21 12:00:13 -07:00
Esun Kim
aae4f4cf18
Fix by misc-unused-using-decls
2020-10-19 18:12:11 -07:00
Esun Kim
9e8a13bb93
Fix by tidy-readability-redundant-control-flow
2020-10-19 17:03:35 -07:00
Esun Kim
6ae8463500
Fix by modernize-make-unique
2020-10-16 13:30:56 -07:00
Esun Kim
ece76ee1e8
Fix code by readability-container-size-empty
2020-10-16 09:48:20 -07:00
Esun Kim
c08f33c437
Fix clang-tidy errors
2020-10-15 16:07:25 -07:00
Esun Kim
8e9e895ffc
Replace grpc_shutdown_blocking with grpc_shutdown
2020-10-08 10:57:05 -07:00
Mark D. Roth
bd73844208
Move parse_address library from client_channel to iomgr.
2020-08-18 11:23:06 -07:00
Alexander Polcyn
e2837aa10b
Raise deadline of CancelDuringAresQuery.TestHitDeadlineAndDestroyChannelDuringAresResolutionWithQueryTimeoutIsGraceful test
2020-08-11 18:05:57 -07:00
Mark D. Roth
9404f66f70
Replace most uses of gpr_asprintf() with absl calls.
2020-07-07 12:01:02 -07:00
Jan Tattermusch
ec8be426bd
Merge pull request #23067 from jtattermusch/cancel_ares_query_test_flaky
...
Mark cancel_ares_query_test as flaky
2020-06-01 15:47:19 +02:00
Alexander Polcyn
2c133c562d
Fix sorting of gRPCLB addresses when resolved via DNS
2020-05-29 10:43:45 -07:00
Jan Tattermusch
f622a797d2
mark cancel_ares_query_test as flaky
2020-05-28 01:34:19 -04:00
Mark D. Roth
c769951764
Remove deprecated variant of JoinHostPort().
2020-05-08 09:13:26 -07:00
Mark D. Roth
d74548e611
Remove StringViewToCString() and src/core/lib/gprpp/string_view.h
2020-04-27 12:28:28 -07:00
Yash Tibrewal
00458b3851
Merge branch 'master' into uselogicalthread and address reviewer
...
comments
2020-04-13 23:26:14 -07:00
apolcyn
02b92dde35
Merge pull request #22528 from apolcyn/improve_cares_tracer
...
Include the request object in c-ares address sorting trace logs
2020-04-01 14:31:35 -07:00
Alexander Polcyn
292c07b432
Fix link error in address sorting test
2020-04-01 11:18:53 -07:00
Alexander Polcyn
aec6be5ec9
Include request object in c-ares address sorting trace logs
2020-04-01 00:05:03 +00:00
Mark D. Roth
03411d7be7
Second attempt: grpclb stabilization
2020-03-31 07:52:44 -07:00
Yash Tibrewal
a2df32e657
Merge branch 'master' into uselogicalthread
2020-03-25 20:57:31 -07:00
Mark D. Roth
d4fb5ea436
update service config parsing as per recent spec change
2020-03-25 10:45:41 -07:00