Commit Graph

5427 Commits

Author SHA1 Message Date
Esun Kim 6a1518bd22 Made grpc_core::Mutex compatible to absl::Mutex 2021-02-08 16:15:53 -08:00
bojeil-google 33b80f16ec Applies clang_format_code.sh to address sanity check tests. 2021-02-08 15:42:40 -08:00
Yash Tibrewal f4e55b85bc Replace disrespectful term 2021-02-08 15:29:53 -08:00
Yash Tibrewal 7a5288d2a0 Replace disrespectful words 2021-02-08 14:29:18 -08:00
Bassam Ojeil a8e061bf88 Removes experimental namespace from ExternalAccountCredentials tests. 2021-02-08 14:22:04 -08:00
Donna Dionne cdd8a4ba87 Change xds_cluster_resolver LB policy config to support combined
locality and endpoint picking policies
2021-02-04 22:42:52 -08:00
Mark D. Roth 4dc84aea46
Merge pull request #25329 from markdroth/xds_ads_parsing
xds: Change ADS parsing to not stop at the first error
2021-02-03 14:59:29 -08:00
Mark D. Roth 044ea22d41
Merge pull request #25338 from markdroth/xds_v3
xds: Remove env-var protection for xDS v3 support.
2021-02-03 14:52:32 -08:00
Mark D. Roth 0f9af3c045 xds: Change ADS parsing to not stop at the first error 2021-02-03 12:27:44 -08:00
Mark D. Roth 30086244c1
Merge pull request #25335 from markdroth/xds_test_fix
Fix fake xDS server bug that caused unnecessary round trips in NACK tests
2021-02-03 12:26:48 -08:00
Mark D. Roth bfd230c29c xds: Remove env-var protection for xDS v3 support. 2021-02-03 11:23:45 -08:00
Mark D. Roth 60204d9e16 Fix fake xDS server bug that caused unnecessary round trips in NACK tests. 2021-02-03 08:29:06 -08:00
Donna Dionne 07d51a4d12 Fixing Logical DNS case:
override child policy with pick_first
set ignore_reresolution to false
ensure ExitIdleLock happens at every level of policy
2021-02-02 10:39:38 -08:00
Yash Tibrewal 88086a57a4 Fix xds_end2end_test for ipv6 only platforms 2021-01-28 13:44:48 -08:00
Mark D. Roth e6c5554b0e
Merge pull request #25283 from markdroth/xds_nack_fix
Fix NACK detection in test xDS server.
2021-01-28 07:28:50 -08:00
Mark D. Roth 958c8e15f7 Fix NACK detection in test xDS server. 2021-01-27 11:53:52 -08:00
Esun Kim be761cd430 Fixed sign-compare warnings 2021-01-27 11:16:18 -08:00
Esun Kim 931ce5aea1
Merge pull request #25234 from veblush/fix-error_details_test
Added no_test_ios to error_details_test
2021-01-22 08:55:44 -08:00
donnadionne 191431ab03
Merge pull request #25193 from donnadionne/to_interop
xds_interop_client.cc modification: new stats and new timeout_sec config
2021-01-21 17:28:14 -08:00
Donna Dionne b2443df1e1 xds_interop_client.cc modification: new stats and new timeout_sec config 2021-01-21 15:23:02 -08:00
Esun Kim 9eabb96f1c Added no_test_ios to error_details_test 2021-01-21 15:01:36 -08:00
Donna Dionne 19b1f8f64a Cds Watchers changes to support aggregate Cds and Logical DNS Cds. 2021-01-21 14:25:50 -08:00
Esun Kim 2cc1abde09
Merge pull request #25228 from veblush/fix-unused-parameter2
Fix more unused-parameter warning
2021-01-21 13:05:22 -08:00
Esun Kim a1ae48db20
Merge pull request #25196 from devjgm/error-details-template
refactor!: change error_details functions to templates
2021-01-21 11:26:33 -08:00
Esun Kim 669e859f7a Fix more unused-parameter warning 2021-01-21 10:30:16 -08:00
Esun Kim 9eae29f8e9
Merge pull request #25134 from veblush/fix-unused-parameter
Fix unused parameter warnings
2021-01-21 10:08:09 -08:00
donnadionne d0f46266c5
Merge pull request #25178 from donnadionne/present
Add Missing test case: present match
2021-01-20 16:15:46 -08:00
Mark D. Roth 5b5e3f84a1
Merge pull request #25214 from markdroth/xds_bootstrap_env_var
Add ability to read xDS bootstrap config from an env var.
2021-01-20 14:34:59 -08:00
Zhouyihai Ding 6f6bdd03e6
Merge pull request #25175 from ZhouyihaiDing/callback_add_context
Support ServerContext for callback API
2021-01-20 11:52:02 -08:00
Mark D. Roth 42f123efbe Add ability to read xDS bootstrap config from an env var. 2021-01-20 11:00:27 -08:00
Esun Kim 0db0ab052d Update by review 2021-01-20 10:44:14 -08:00
Greg Miller 7d4d516511 wip: change error_details functions to templates 2021-01-20 09:48:22 -05:00
ZhouyihaiDing a584bc4f02 Support ServerContext for callback API 2021-01-19 22:00:10 -08:00
Esun Kim 9bd7c4917a Fix unused-parameter warning 2021-01-19 18:18:09 -08:00
Yash Tibrewal d007862824
Merge pull request #25154 from yashykt/xdsend2endtestflakefix
Fix xds_end2end_test flakiness
2021-01-19 13:03:24 -08:00
Yash Tibrewal 0406f3ba42 Fix xds_end2end_test msan flake 2021-01-19 11:18:21 -08:00
Yash Tibrewal be34f56895
Merge pull request #25179 from yashykt/xdsend2endtestfix
Fix end2end test for ipv6 only platforms
2021-01-17 13:42:11 -08:00
Yash Tibrewal 60891587bb Fix end2end test for ipv6 only platforms 2021-01-15 18:35:48 -08:00
Donna Dionne 83d6d96c86 Add Missing test case: present match
Interop reported an error for a present match and it is discovered this
case is missing from unit test.  We have test for present (false) and we
have special case test but we don't have the normal present (true) test.

We also had a bug in a our code:
if (!value.has_value()) {
    if (header_matcher.type ==
        XdsApi::Route::Matchers::HeaderMatcher::HeaderMatcherType::PRESENT) {
      return !header_matcher.present_match;
    } else {
      // For all other header matcher types, we need the header value to
      // exist to consider matches.
      return false;
    }
  }
  switch (header_matcher.type) {
    case XdsApi::Route::Matchers::HeaderMatcher::HeaderMatcherType::EXACT:
      return value.value() == header_matcher.string_matcher;
    case XdsApi::Route::Matchers::HeaderMatcher::HeaderMatcherType::REGEX:
      return RE2::FullMatch(value.value().data(), *header_matcher.regex_match);
    case XdsApi::Route::Matchers::HeaderMatcher::HeaderMatcherType::RANGE:
      int64_t int_value;
      if (!absl::SimpleAtoi(value.value(), &int_value)) {
        return false;
      }
      return int_value >= header_matcher.range_start &&
             int_value < header_matcher.range_end;
    case XdsApi::Route::Matchers::HeaderMatcher::HeaderMatcherType::PREFIX:
      return absl::StartsWith(value.value(), header_matcher.string_matcher);
    case XdsApi::Route::Matchers::HeaderMatcher::HeaderMatcherType::SUFFIX:
      return absl::EndsWith(value.value(), header_matcher.string_matcher);
    default:
      return false;
  }

Note if header has value, we will go into the swtich but there is no case
XdsApi::Route::Matchers::HeaderMatcher::HeaderMatcherType::PRESENT,
which means we would have gone into default and decleared not a match.

The same day this bug was discovered by interop test, https://github.com/grpc/grpc/pull/25122
was submitted and the refactoring fixed the bug.

Nevertheless, I added the test case for the future.
2021-01-15 17:50:29 -08:00
donnadionne d17ef6be04
Merge pull request #25139 from donnadionne/switch_bug
Fixing TryNextPrioirtyLocked to ensure we properly try higher priorities when lower ones fail
2021-01-15 17:09:55 -08:00
Ashitha Santhosh 4ca878799b Refactor [String/Header/Path]matchers in xds_api. 2021-01-15 12:32:54 -08:00
Donna Dionne 4715bbc220 Fixing TryNextPrioirtyLocked to ensure we properly try higher priorities when lower ones fail 2021-01-14 16:07:42 -08:00
Yash Tibrewal ac4f4de196 xDS server config fetcher 2021-01-14 14:27:51 -08:00
Sergii Tkachenko 8db79e2e71 Python style: reformat code using updated yapf 0.30.0 2021-01-13 14:00:12 -05:00
Mark D. Roth 8ddbc50272 change xDS certificate provider to contain a map by cluster 2021-01-12 10:51:50 -08:00
ZhenLian e745f8cb55
Merge pull request #25018 from ZhenLian/zhen_dynamic_file_reloading_9
Support Default Root Certs in Tls Credentials
2021-01-07 09:40:31 -08:00
ZhenLian c48e39d5c2 Support Default Root Certs in Tls Credentials 2021-01-06 23:02:52 -08:00
Donna Dionne 5c1834e8db A previous fix which changed grpc_cycle_counter_to_millis_round_down/up
was not the correct fix and caused window test issues.

The correct fix is to ensure the test uses the same time apis as the
product code: grp_get_cycle_counter (which is platform dependent) to get
current time.

Tested both in open source and patched into google3 to ensure successful
import:
https://critique-ng.corp.google.com/cl/349981071/analysis
2021-01-06 18:26:54 -08:00
Yang Gao f735728a39
Merge pull request #25055 from acozzette/parse-json
Updated parse_json.cc to rely on config_protobuf.h for protobuf types
2021-01-06 14:48:47 -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
Mark D. Roth c01a7ad71a
Merge pull request #24814 from renkelvin/apis
Add support of implicit and explicit flows for external account creds
2021-01-05 19:32:20 -08:00
Mark D. Roth 861c54a7fa
Merge pull request #25091 from markdroth/string_less_new
Remove StringLess and src/core/lib/gprpp/map.h.
2021-01-05 15:24: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
Chuan Ren 06cc42eb85 Add support of implicit and explicit flows for external account creds 2021-01-05 13:20:42 -08:00
Mark D. Roth 1bc2d7d1a6 Remove StringLess and src/core/lib/gprpp/map.h. 2021-01-05 09:47:42 -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
Adam Cozzette 63ee5b62c2 Updated parse_json.cc to rely on config_protobuf.h for protobuf types
Google's internal version of the gRPC codebase uses a version of
protobuf with a different namespace and include paths. This commit makes
parse_json.cc rely on config_protobuf.h for protobuf types so that it
will work properly in that environment. I also replaced a call to
Status::error_code() with a call to Status::code() instead. This way the
code will work with absl::Status, which has a somewhat different API
compared to google::protobuf::util::Status.
2020-12-23 15:55:17 -08:00
Donna Dionne 88876b194c Fixing interop client to send all RPC types for each duration_per_query. 2020-12-22 10:15:48 -08:00
Yash Tibrewal 9c043baf49 Allow the channelz service test to get different listen socket sizes 2020-12-21 12:57:10 -08:00
Donna Dionne 9b1172697e Adding a expect_status flag in xds interop client to get ready for
timeout tests.
2020-12-21 09:51:26 -08:00
Mark D. Roth 55154ce24c
Merge pull request #25032 from markdroth/xds_weighted_cluster_weight_0_fix
xds: Ignore WeightedCluster entries with weight 0.
2020-12-21 08:32:25 -08:00
Mark D. Roth a38d6c641f xds: Ignore WeightedCluster entries with weight 0. 2020-12-17 16:00:47 -08:00
Yash Tibrewal e33849682c
Merge pull request #24956 from yashykt/xds_server
Delay listening when using ServerConfigFetcher
2020-12-17 13:00:32 -08:00
Yash Tibrewal 4105d2ce20 XdsServerBuilder, config fetching per resolved address and delaying bind/listen till fetch is complete 2020-12-16 12:15:52 -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
Donna Dionne 4f8ed98f3e Xds cluster resolver
Implemented new xds cluster resolver config
Separated policy and discovery mechanism
2020-12-14 16:05:15 -08:00
AJ Heller 01378c742f Add TODO for the OOM fix that makes these tests flaky 2020-12-11 11:56:23 -08:00
AJ Heller 34ba812e20 Mark QPS Benchmark Tests as flaky 2020-12-11 11:52:48 -08:00
Yash Tibrewal c9e99945ec Add SANs matching for xDS credentials 2020-12-08 15:15:39 -08:00
ZhenLian 551009be68
Merge pull request #24805 from ZhenLian/zhen_dynamic_file_reloading_7
refactor PemKeyCertPair to take absl::string_view
2020-12-08 10:27:58 -08:00
Adam J Heller 91c4cbd51b
Merge pull request #24701 from drfloob/null-byte-uri-components
Convert URI parser to C++
2020-12-07 15:30:31 -08:00
AJ Heller 880a854f0e Convert URI parser to C++ #24701 2020-12-07 12:13:22 -08:00
ZhenLian de4e8a4680 refactor PemKeyCertPair 2020-12-07 12:10:45 -08:00
Mark D. Roth 8c12cc80e8
Merge pull request #24919 from markdroth/client_channel_remove_get_subchannel_call
Remove grpc_client_channel_get_subchannel_call().
2020-12-07 09:27:49 -08:00
Mark D. Roth e4faf1945d Remove grpc_client_channel_get_subchannel_call(). 2020-12-05 15:44:50 -08:00
Esun Kim f171a6689e Fix StatusCode 2020-12-04 13:10:46 -08:00
Esun Kim 53ab235fb8 Fix google-explicit-constructor 2020-12-03 15:03:39 -08:00
Esun Kim 6c440e820b
Merge pull request #24841 from veblush/tidy-google-readability-casting
[Clang-Tidy] google-readability-casting
2020-12-03 14:49:45 -08:00
Mark D. Roth 0a84a1d0c7
Merge pull request #24813 from markdroth/client_channel_split1
Use separate mutexes and call queues for resolution and load balancing
2020-12-03 14:40:07 -08:00
Mark D. Roth a9d30fece6 Use separate mutexes and call queues for resolution and load balancing 2020-12-03 11:19:35 -08:00
Yash Tibrewal a6d9e49f27
Merge pull request #24843 from yashykt/insecureservercreds
Experimental API for xDS server credentials
2020-12-03 03:05:34 -08:00
Esun Kim 7d7c3cc711 Update by review 2020-12-02 13:42:53 -08:00
Yash Tibrewal 096b2324e1 Experimental API for XdsServerCredentials 2020-12-01 12:47:52 -08:00
Yash Tibrewal b08861b60f Register certificate provider factories after init 2020-12-01 12:17:12 -08:00
Yash Tibrewal b0d06d73c8
Merge pull request #24858 from yashykt/xdsclientseccont
xds_end2end_test cleanup from #24643
2020-11-30 19:05:58 -08:00
Esun Kim e0d8c498a6 C++ cast for others 2020-11-30 17:36:21 -08: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 3d4bb01e1d
Merge pull request #24826 from veblush/tidy-readability-inconsistent-declaration-parameter-name
[Clang-Tidy] readability-inconsistent-declaration-parameter-name
2020-11-30 17:26:55 -08:00
Yash Tibrewal f635d9deeb xds_end2end_test cleanup from #24643 2020-11-30 16:10:27 -08:00
Yash Tibrewal d7907e6ba1
Merge pull request #24835 from yashykt/filewatcherprovider
Update file watcher certificate provider factory with provider implementation
2020-11-30 15:42:31 -08:00
Esun Kim ac080fd17a Fix readability-inconsistent-declaration-parameter-name manually 2020-11-30 14:22:40 -08:00
Esun Kim 75e3e660fd Fix google-readability-todo 2020-11-25 10:09:42 -08:00
Yash Tibrewal 82b158f249 Update file watcher certificate provider factory with provider implementation 2020-11-24 23:48:18 -08:00
Esun Kim c028e2f5cd Fix bugprone-integer-division 2020-11-24 13:15:31 -08:00
Yash Tibrewal ee2480abbd Add missing check_config release 2020-11-24 00:22:37 -08:00
Yash Tibrewal 3f46d68975
Merge pull request #24643 from yashykt/xdsclientsecinteg
Xds client security integration
2020-11-23 13:38:28 -08:00
donnadionne 3697765c01
Revert "Adjusting time measurements for the timeout test to make it more stable" 2020-11-21 12:30:39 -08:00
donnadionne 58aa564385
Merge pull request #24613 from donnadionne/timeout_test
Adjusting time measurements for the timeout test to make it more stable
2020-11-20 20:46:06 -08:00
Yash Tibrewal 33b4911a50 xDS client security integration 2020-11-20 17:37:27 -08:00
Donna Dionne e4a060fb1e Adding client changes needed for circuit breaking tests
- reworking interop client to accpet ClientConfig RPC
- adding new stats RPC
2020-11-20 16:23:49 -08:00
Donna Dionne fdb7c77d55 Fixing time calculation APIs to make them consistent and work in
multiple environment.
2020-11-20 16:21:40 -08:00
ZhenLian d74e43da95 Add File Watcher Certificate Provider API 2020-11-19 13:36:13 -08:00
Lidi Zheng 5ea36eb47c
Revert "Revert "Resolve warnings and deprecations in several scripts in tools"" 2020-11-17 16:30:26 -08:00
Lidi Zheng 096a95ba01
Merge pull request #24767 from grpc/revert-24673-modernize-several-scripts
Revert "Resolve warnings and deprecations in several scripts in tools"
2020-11-16 10:23:33 -08:00
Mark D. Roth a244d39acc
Merge pull request #24756 from markdroth/xds_test_cleanup
Move resource generation out of ADS impl and into test suite class.
2020-11-16 09:31:31 -08:00
Jan Tattermusch dcb3f8c73e
Revert "Resolve warnings and deprecations in several scripts in tools" 2020-11-16 16:21:28 +01:00
Donna Dionne c85ce105ee Fixing a bug in cpp xds interop client after the use of absl::GetFlag
Code used absl::string_view to point into FLAG_xxx, when we changed
to uses absl::GetFlag, absl::string_view is pointing into temp variables
which results in undefined behaviour for the flags.
2020-11-15 15:30:43 -08:00
Mark D. Roth 07016f8191 Move resource generation out of ADS impl and into test suite class. 2020-11-13 16:14:43 -08:00
Lidi Zheng 76aade3eac Resolve warnings and deprecations in several scripts in tools 2020-11-13 12:17:38 -08:00
yulin liang 850f0c7c86
Merge pull request #24672 from yulin-liang/flaky-cronet-test
Fix flaky ios-cpp-test-cronet test.
2020-11-11 12:20:33 -08:00
Donna Dionne 2dc58be3b5 Protect timeout feature under a flag and added testing. 2020-11-10 11:15:54 -08:00
Yang Gao 4ac9c6f755
Merge pull request #24693 from yang-g/remove_log
Remove hack for Xcode 10
2020-11-09 10:59:25 -08:00
Mark D. Roth b852af8f49
Merge pull request #24694 from markdroth/clang_tidy_if_braces
clang-tidy: enable google-readability-braces-around-statements
2020-11-09 06:46:16 -08:00
Mark D. Roth 27e1c1c56d clang-tidy: enable google-readability-braces-around-statements 2020-11-06 13:41:44 -08:00
yang-g ec074a0df9 Remove hack for Xcode 10 2020-11-06 11:16:51 -08:00
capstan 27c0b32668 Retire flags 2020-11-06 18:35:55 +01: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
Esun Kim ccdfcc2ee8 Add workaround for bazel 2020-11-05 11:50:45 -08:00
yulin-liang 0e7faed883 Fix flaky ios-cpp-test-cronet test. 2020-11-04 16:06:25 -08:00
Jan Tattermusch a6b5e5c73a make qps_worker --server_port behavior consistent with java 2020-11-04 15:42:11 +01:00
Yang Gao 84686329d5
Merge pull request #24609 from sudopk/metadata
Specify a large value for max metadata size in grpc_cli client channel.
2020-11-02 09:09:37 -08:00
Parveen Kumar ec08d77474 Specify a large value for max metadata size in grpc_cli client channel.
This is useful in cases where server sends back large stacktrace and
default value of 8192 isn't enough.
2020-10-29 13:36:46 -07:00
Esun Kim 38472186b1 Disable XdsRoutingApplyXdsTimeout under Asan too 2020-10-29 12:00:36 -07:00
Richard Belleville 2ad3c0a041 Revert "Merge pull request #24568 from veblush/test-xds-abseil"
This reverts commit 9083de5017, reversing
changes made to 913760a6a9.
2020-10-28 15:22:20 -07:00
Richard Belleville acb198b961
Merge pull request #24585 from gnossen/fix_unused_return_value
Avoid internal build failure
2020-10-28 10:11:34 -07:00
Esun Kim dc9ef8fc39 Enable XdsRoutingApplyXdsTimeout again under TSAN 2020-10-27 19:48:48 -07:00
Richard Belleville 6ec512d0f1 Avoid internal build failure 2020-10-27 16:08:11 -07:00
ZhenLian 4d80f376a3
Merge pull request #24227 from ZhenLian/zhen_dynamic_file_reloading_3
C-core changes for TLS credentials
2020-10-26 13:38:39 -07:00
Nathan Herring da66b7d14e
Revert "Abseil Flags" 2020-10-24 15:19:55 -07:00
Esun Kim 3528a40fe5
Merge pull request #24506 from Capstan/absl-flags
Abseil Flags
2020-10-23 21:07:21 -07:00
Yang Gao 01596014af
Merge pull request #24521 from yang-g/ip46
Check localhost is resolved to ipv4 or ipv6 and update test accordingly.
2020-10-23 16:30:17 -07:00
yang-g 8456e2138a Check localhost is resolved to ipv4 or ipv6 and update test accordingly. 2020-10-23 14:38:36 -07:00
Esun Kim 2089785b62 Disable XdsRoutingApplyXdsTimeout test under TSAN 2020-10-23 13:50:20 -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
ZhenLian 518ed1303c Add Credential Loading From Static Providers For TLS Credentials 2020-10-22 13:55:31 -07:00
Mark D. Roth ededb8e173
Merge pull request #24516 from markdroth/xds_nack_status
xds: Set status code to INVALID_ARGUMENT when NACKing.
2020-10-22 13:46:02 -07:00
yulin liang f29fcffd53
Merge pull request #24499 from yulin-liang/flaky-ios-tests
Add some debug logs for flaky cfstream and cronet tests.
2020-10-22 09:51:29 -07:00
Yash Tibrewal 1edc2e78cc
Merge pull request #24362 from yashykt/fdinterceptor
Experimental support and tests for CreateCustomInsecureChannelWithInterceptorsFromFd
2020-10-21 15:53:35 -07:00
Mark D. Roth 1f95593de7 xds: Set status code to INVALID_ARGUMENT when NACKing. 2020-10-21 14:09:50 -07:00
Esun Kim 004480e706
Merge pull request #24482 from veblush/tidy-readability-string-compare
[Clang-Tidy] readability-string-compare
2020-10-21 13:42:17 -07:00
Yash Tibrewal 02ca015b13 Experimental support and tests for CreateCustomInsecureChannelWithInterceptorsFromFd 2020-10-21 13:34:26 -07: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
Mark D. Roth 8e84e63a83
Merge pull request #24481 from markdroth/xds_circuit_breaking_global_atomic
Use a global atomic for circuit breaking call counter.
2020-10-20 14:22:54 -07:00
yulin-liang cf29dda100 Add some debug logs for flaky cfstream and cronet tests. 2020-10-20 13:48:33 -07:00
Esun Kim 914fbf45cf
Merge pull request #24484 from veblush/tidy-misc-unused-using-decls
[Clang-Tidy] Enable misc-unused-using-decls
2020-10-20 10:18:27 -07:00
Esun Kim 5b375a3728 Fix by misc-definitions-in-headers 2020-10-19 21:56:17 -07:00
Esun Kim aae4f4cf18 Fix by misc-unused-using-decls 2020-10-19 18:12:11 -07:00
Esun Kim 738bdfb9fd Fix by readability-string-compare 2020-10-19 17:08:00 -07:00
Esun Kim 9e8a13bb93 Fix by tidy-readability-redundant-control-flow 2020-10-19 17:03:35 -07:00
Mark D. Roth b607080400 Use a global atomic for circuit breaking call counter. 2020-10-19 15:15:32 -07:00
Esun Kim bba8facb4a
Merge pull request #24456 from veblush/tidy-readability-redundant-smartptr-get
[Clang-Tidy] readability-redundant-smartptr-get
2020-10-19 09:54:15 -07:00
Esun Kim a62a70207c
Merge pull request #24448 from veblush/clang-format-8
Upgrade clang-format 8
2020-10-19 09:29:35 -07:00
Mark D. Roth 1bb28c90b2
Merge pull request #24436 from markdroth/xds_resource_version
Fix xDS resource type version to persist across stream restarts.
2020-10-19 08:41:50 -07:00
Esun Kim 84df61b31a
Merge pull request #24453 from veblush/tidy-modernize-make-unique
[Clang-Tidy] Enable modernize-make-unique
2020-10-16 16:35:08 -07:00
Esun Kim 946ed32bac
Merge pull request #24454 from veblush/tidy-modernize-use-override
[Clang-Tidy] modernize-use-override
2020-10-16 16:33:29 -07:00
Mark D. Roth bce7bc78ab Fix xDS resource type version to persist across stream restarts. 2020-10-16 14:55:28 -07:00
Mark D. Roth dbe76ce6fd
Merge pull request #24434 from markdroth/xds_resource_version_test
Fix ADS server resource type version logic and refactor code.
2020-10-16 14:52:42 -07:00
Esun Kim 3fef4e7435 Fix by readability-redundant-smartptr-get 2020-10-16 14:16:42 -07:00
Esun Kim e7434d385e Fix by tidy-modernize-use-override 2020-10-16 14:01:06 -07:00
donnadionne ad66015c85
Merge pull request #24328 from donnadionne/timeout
Setting timeout in method config.
2020-10-16 13:43:25 -07:00
Esun Kim 6ae8463500 Fix by modernize-make-unique 2020-10-16 13:30:56 -07:00
Esun Kim f3cedfd357
Merge pull request #24437 from veblush/clang-tidy-abseil
[Clang-Tidy] Enable abseil-*
2020-10-16 12:21:51 -07:00
Donna Dionne a3ce1f745a Setting timeout in method config. 2020-10-16 11:37:52 -07:00
Esun Kim 34789b2d83 Fix by clang-format-8. 2020-10-16 11:37:18 -07:00
Mark D. Roth 63546c0faf Fix ADS server resource type version logic and refactor code. 2020-10-16 11:18:49 -07:00
Esun Kim ece76ee1e8 Fix code by readability-container-size-empty 2020-10-16 09:48:20 -07:00
Esun Kim a51fe3e675 Fix abseil-* clang-tidy errors 2020-10-16 09:39:41 -07:00
Esun Kim c08f33c437 Fix clang-tidy errors 2020-10-15 16:07:25 -07:00
Esun Kim 09ace01cc1
Merge pull request #24193 from veblush/clang-tidy
Improve clang tidy to use compilation DB
2020-10-15 15:46:13 -07:00
Donna Dionne 5a25a427b5 Protecting the circuit breaking (drop action) using environment
variable. All the logic of refcounting are left but will not result in
any actions.  Test added to test protected case.
2020-10-13 10:04:13 -07:00
Esun Kim 6d6648c7e1 Fix clang-tidy errors 2020-10-13 09:51:31 -07:00
Mark D. Roth 50ed78d1f9
Merge pull request #24395 from markdroth/xds_load_stats_refs
Use a single instance of the drop and locality stats objects.
2020-10-12 16:47:06 -07:00
Mark D. Roth a6954fe39e Use a single instance of the drop and locality stats objects. 2020-10-12 14:14:52 -07:00
Mark D. Roth 9021963b10
Merge pull request #24381 from markdroth/xds_case_insensitive
xds: Add support for case_sensitive option in RouteMatch.
2020-10-12 07:14:43 -07:00
Mark D. Roth caf798e9ab xds: Add support for case_sensitive option in RouteMatch. 2020-10-09 14:49:23 -07:00
apolcyn 9e10bfc8a0
Merge pull request #24376 from apolcyn/allow_no_servers
Allow --qps_server_target_override to configure clients even if the driver isn't configuring any servers
2020-10-09 10:52:24 -07:00
Yash Tibrewal 4013fd9dc9
Merge pull request #24313 from yashykt/xdscredscpp
C++ API to create Xds channel credentials
2020-10-08 22:27:21 -07:00
Yash Tibrewal c52cb09f47 Add experimental XdsCredentials with support for insecure channel_credentials and security_connector 2020-10-08 20:37:47 -07:00
Alexander Polcyn eed39b385a Allow --qps_server_target_override to configure clients even if the driver isn't configuring any servers 2020-10-08 15:53:31 -07:00
Esun Kim 86050be0cf Clean up DEPLOYMENT_TARGET 2020-10-08 14:47:56 -07:00
Esun Kim 8e9e895ffc Replace grpc_shutdown_blocking with grpc_shutdown 2020-10-08 10:57:05 -07:00
Esun Kim be23ad0ed1
Merge pull request #24282 from veblush/ios-bump
Bump iOS and OSX version
2020-10-07 16:12:16 -07:00
Vijay Pai 25cbc854d2 Fix compiler_test_golden 2020-10-06 17:48:05 -07:00
Vijay Pai 37a09aaae3 Remove unused experimental stub format 2020-10-06 17:41:20 -07:00
Mark D. Roth 799e805e8a Move locality load reporting to EDS policy. 2020-10-02 11:16:01 -07:00
Mark D. Roth 8c142a1d8c
Merge pull request #24299 from markdroth/xds_test_crash_fix
Don't try to use global xds channel args after they've been destroyed.
2020-10-01 09:59:17 -07:00
Mark D. Roth dcc94158ac Don't try to use global xds channel args after they've been destroyed. 2020-10-01 07:10:32 -07:00
Esun Kim ccf3cbc6b7 Bump iOS and OSX version 2020-09-30 14:58:30 -07:00
Donna Dionne ea4cb41bd2 Remove unused variable. 2020-09-30 10:08:56 -07:00
Mark D. Roth 537467eb0e
Merge pull request #24258 from markdroth/service_config_parser_channel_args
Allow channel args to modify service config parsing behavior.
2020-09-30 08:17:46 -07:00
Donna Dionne e7d7b7de86 xDS circuit breaking support 2020-09-29 14:47:39 -07:00
Mark D. Roth b62d5c7eaa Allow channel args to modify service config parsing behavior. 2020-09-29 13:13:26 -07:00
Mark D. Roth efb38591ac
Merge pull request #24239 from markdroth/xds_client_shared
Share XdsClient between channels
2020-09-28 08:07:02 -07:00