Soheil Hassas Yeganeh
80c177d4c4
Revert "Introduce string_view and use it for gpr_split_host_port."
6 years ago
Soheil Hassas Yeganeh
ef0f9bf7ec
Introduce string_view and use it for gpr_split_host_port.
6 years ago
Prashant Jaikumar
43628b286f
Update googletest version to v1.8.1
...
Bazel builds of test/cpp/end2end:end2end_test were failing on Mac OS with v1.8.0 due to missing gtest symbols. The issue is not seen in v1.8.1. A WORKSPACE file was added to gtest repo in 1.8.1, so gtest.BUILD can be removed.
6 years ago
Prashant Jaikumar
fbfb93c88f
Fix C++ tests to run on iOS
...
- Define grpc_iomgr_run_in_background in iomgr_posix_cfstream.cc
- Use *_IF_SUPPORTED() for death tests
- Move global test init, teardown to SetUpTestCase, TearDownTestCase as GTMGoogleTestRun doesn't run main()
6 years ago
Esun Kim
90fbdc92f5
Roll-forward "Config migration"
...
This reverts commit 236ae12bb1
.
6 years ago
Alexander Polcyn
236ae12bb1
Revert "Config migration"
...
This reverts commit 87905ae5ea
.
6 years ago
Esun Kim
87905ae5ea
Config migration
6 years ago
Yash Tibrewal
b6c7cb81f0
Fix resolver component test
6 years ago
Alexander Polcyn
2a4d62819b
Revise c-ares timeouts to use c-ares's internal timeout/retry logic
6 years ago
Yash Tibrewal
6cba63eb47
reviewer comments and tests
6 years ago
Yash Tibrewal
587ae4a2d9
Fix existing tests
6 years ago
Esun Kim
1518ecbd76
Added new configuration system to core/grp.
...
More generic configuration system is introduced in order to i) unify the
way how modules access the configurations instead of using low-level
get/setenv functions and ii) enable the customization for where configuration
is stored. This could be extended to support flag, file, etc.
Default configuration system uses environment variables as before so
basically this is expected to work just as it did. This behavior can
change by redefining GPR_GLOBAL_CONFIG_DEFINE_*type* macros.
* Migrated configuration
GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS
GRPC_EXPERIMENTAL_DISABLE_FLOW_CONTROL
GRPC_ABORT_ON_LEAKS
GRPC_NOT_USE_SYSTEM_SSL_ROOTS
6 years ago
yang-g
37783d6329
Stop calling ParseCommandLineFlags directly, use wrapper call instead
6 years ago
Mark D. Roth
206592ce9c
Restructure how addresses and service config are passed from resolver to LB policy.
6 years ago
Bill Feng
d93959853f
Enabled Windows Bazel build for cpp tests
6 years ago
Jan Tattermusch
cf6a311761
Revert "Windows builds for gRPC C++ tests"
6 years ago
Mark D. Roth
687580fe04
Add ResultHandler to Resolver API.
6 years ago
billfeng327
4241edeaa4
renamed tag to no_windows in conformation with Bazel and TensorFlow
6 years ago
billfeng327
ab06853fc9
C++ Windows test builds
6 years ago
Vu Cong Tuan
9c4de5a0ff
Fix typos in test code
...
Signed-off-by: Vu Cong Tuan <tuanvc@vn.fujitsu.com>
6 years ago
frazenshtein
8232d69820
Reverted changes in the test/cpp/naming/resolver_component_test.cc
6 years ago
frazenshtein
7d1e201539
Use grpc_wsa_socket_flags in the test/cpp/naming/resolver_component_test.cc
6 years ago
yang-g
456f748b2f
Revert "Merge pull request #18146 from grpc/revert-17308-shutdown"
...
This reverts commit 9079e98dfc
, reversing
changes made to 76a38bfcc2
.
6 years ago
frazenshtein
bc7203e371
Fixed style
6 years ago
Yang Gao
4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread"
6 years ago
frazenshtein
76e9d1add7
Set WSA_FLAG_NO_HANDLE_INHERIT flag wherever the WSASocket is used.
...
Check WSA_FLAG_NO_HANDLE_INHERIT is supported.
6 years ago
yang-g
545c555d31
Rename new public API
6 years ago
Alexander Polcyn
93b7acd9bf
Disable service config resolution with c-ares by default
6 years ago
Alexander Polcyn
139d9f6e94
Revert "Revert c-ares as the default resolvre"
...
This reverts commit ca30b2240f
.
6 years ago
Alexander Polcyn
ca30b2240f
Revert c-ares as the default resolvre
6 years ago
Alexander Polcyn
2b328ee0ca
Re-enable c-ares as the default resolver; but keep SRV queries off by default
6 years ago
Alexander Polcyn
371b987bf4
Revert turning c-ares on by default
6 years ago
Alexander Polcyn
46a872864c
Turn on c-ares as the default resolver
6 years ago
Mark D. Roth
c5f344deaf
Revert "Revert "Allow encoding arbitrary channel args on a per-address basis.""
6 years ago
hcaseyal
27e2ba31bf
Revert "Allow encoding arbitrary channel args on a per-address basis."
6 years ago
Mark D. Roth
dedff37b4f
Allow encoding arbitrary channel args on a per-address basis.
6 years ago
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
6 years ago
yang-g
e00ca0371a
Promote gpr_test_util to part of grpc_test_util, add a sample to show it works, build.yaml change first
6 years ago
Alexander Polcyn
570599cfc6
Cancel still-active c-ares queries after 10 seconds to avoid chance of deadlock
6 years ago
Alexander Polcyn
b203ed3c07
Cancel still-active c-ares queries after 10 seconds to avoid chance of deadlock
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
yang-g
cdd698810b
Move grpc_shutdown internals to a detached thread
6 years ago
Alex Polcyn
e52d87b53d
Add a grpclb-in-DNS interop test suite
6 years ago
Gleb Popov
39eb19ed35
Fix various tests on FreeBSD.
6 years ago
Alexander Polcyn
964d679edc
Resolve ip literals and Windows localhost manually when using c-ares
6 years ago
Alex Polcyn
5cd8b1eb81
Enable c-ares queries on Windows
6 years ago
Alexander Polcyn
9896c64186
Revert "Merge pull request #16158 from apolcyn/revert_windows_breakage"
...
This reverts commit d9e8f86675
, reversing
changes made to 04847aeb1e
.
6 years ago
Alexander Polcyn
f34c653936
Revert "Merge pull request #15797 from apolcyn/windows_compile_and_sort"
...
This reverts commit ae8d3efc3a
, reversing
changes made to e41215e181
.
6 years ago
Alex Polcyn
1b1d5e52e7
Get c-ares to compile and do address sorting on windows
6 years ago
Alexander Polcyn
0220a998db
Explicitly delete fd from pollset set after c-ares is done
7 years ago