AJ Heller
fc7314c701
Avoid fully qualifying namespaces (and add check) ( #28901 )
...
Based on a handful of https://abseil.io/tips , it's generally advised to
only fully-qualify namespaces when in a `using` statement, or when it's
otherwise required for compilation. In all other cases, the general
recommendation is to not fully-qualify.
This change fixes most `grpc.*` namespace uses. There are potential
challenges in trying to make blanket changes to non-gRPC namespace uses,
such as `::testing`, since there is also a `grpc::testing` namespace.
3 years ago
Mohan Li
155aa95f82
Fix memory stomp error in the fallback test client ( #28380 )
...
* Fix memory stomp error in the fallback test client
* Fix memory stomp error in the fallback test client
3 years ago
Jan Tattermusch
ce74e092e6
add --log_metadata_and_status feature to interop_client ( #28021 )
3 years ago
Richard Belleville
468768865b
Make Buildifier Sanity Test Strict ( #27807 )
...
* Fix all lint errors in repo.
* Use strict buildifier by default
* Whoops. That file does not exist
* Attempt fix to buildifier invocation
* Add missing copyright
3 years ago
Craig Tiller
d1e01ac139
Add a test for a (now-illegal) build file construct ( #27602 )
...
* Add a test for a (now-illegal) build file construct
* add to test suite!
* fix
* fix
* fix syntax
3 years ago
Yash Tibrewal
72171a3326
De-experimentalize XdsCredentials and XdsServerCredentials API ( #26544 )
...
* De-experimentalize XdsCredentials and XdsServerCredentials API
* Use GRPC_DEPRECATED
3 years ago
Yash Tibrewal
7fd731f704
De-experimentalize XdsServerBuilder ( #27296 )
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
AJ Heller
4ba3fa52b9
Clean up some instances of -Wunreachable-code-aggressive ( #27054 )
...
See https://github.com/grpc/grpc/pull/26951 for why this is not enforced
at the moment.
3 years ago
apolcyn
d742153b32
Include the peer address in interop soak test high-latency error messages ( #26932 )
3 years ago
Yash Tibrewal
29d220a0ef
Re-experimentalize XdsServerBuilder ( #26892 )
...
* Re-experimentalize XdsServerBuilder
* Fix compiler issue
3 years ago
ZHANG Dapeng
ca482bdbc7
Enable xds retry test for cpp ( #26828 )
...
* enable retry
* enable cpp
* fix cpp format
* fix indent
3 years ago
Yash Tibrewal
4daedf0233
De-experimentalize XdsServerBuilder ( #26543 )
3 years ago
Craig Tiller
03bdfa4a74
Make socket mutators work for server connections ( #26328 )
...
* Make socket mutators work for server connections
* compile fix
* compile fix
* compile fix
* compile fix
* cleanup
* Revert "cleanup"
This reverts commit 480fcc600a
.
* Revert "Revert "cleanup""
This reverts commit 29fbc349d2
.
4 years ago
AJ Heller
5cda00427d
Remove use of C++20 initializers ( #26028 )
...
Since this codebase only supports C++11 at this point, doing a build
with strict warnings will fail using C++20 initializers.
```
$ bazel build --define=use_strict_warning=true :all //src/core/... //src/compiler/... //test/...
test/cpp/interop/grpclb_fallback_test.cc:154:9: error: designated
initializers are a C++20 extension [-Werror,-Wc++20-designator]
.mutate_fd = TcpUserTimeoutMutateFd,
```
See
https://source.cloud.google.com/results/invocations/f9710ed0-994f-488f-adb8-a7e987f1620d/targets/grpc%2Fcore%2Fpull_request%2Flinux%2Fgrpc_bazel_build/log
4 years ago
Lidi Zheng
735c7047aa
[C++] Add admin and reflection to xds interop binaries ( #25964 )
...
* Add admin and reflection to xds interop binaries
* Prepare for https://github.com/grpc/grpc/pull/25978
* Remove _xds rules
4 years ago
Yash Tibrewal
23152e74ce
Enable channelz for xds_interop_client and xds_interop_server ( #25939 )
...
* Enable channelz for xds_interop_client and xds_interop_server
* Regenerate projects
4 years ago
Esun Kim
a41a206b8c
Fix readability-const-return-type,readability-delete-null-pointer,readability-simplify-boolean-expr ( #25628 )
4 years ago
Yash Tibrewal
8eb2e13a6e
C++ xDS interop test server changes ( #25633 )
...
* C++ xDS interop test server changes
4 years ago
Esun Kim
377fe6095a
Upgrade clang-tidy and clang-format to 11 ( #25590 )
...
* Upgrade clang-tidy and clang-format to 11
* Reformat code
* Fix abseil-string-find-str-contains
* Fix modernize-make-unique
4 years ago
Yash Tibrewal
4b9ec936e8
xDS Interop Client changes for PSM security tests ( #25613 )
4 years ago
apolcyn
35569cd544
Make --server_port optional in C++ interop client ( #25550 )
...
* make --server_port optional in C++ interop client
4 years ago
Donna Dionne
b2443df1e1
xds_interop_client.cc modification: new stats and new timeout_sec config
4 years ago
Esun Kim
9bd7c4917a
Fix unused-parameter warning
4 years ago
Donna Dionne
88876b194c
Fixing interop client to send all RPC types for each duration_per_query.
4 years ago
Donna Dionne
9b1172697e
Adding a expect_status flag in xds interop client to get ready for
...
timeout tests.
4 years ago
Esun Kim
53ab235fb8
Fix google-explicit-constructor
4 years ago
Esun Kim
7d7c3cc711
Update by review
4 years ago
Esun Kim
2ff84ed8c2
C++ cast for void*
4 years ago
Esun Kim
ec0b88a5d7
Fix google-readability-casting
4 years ago
Esun Kim
75e3e660fd
Fix google-readability-todo
4 years ago
Donna Dionne
e4a060fb1e
Adding client changes needed for circuit breaking tests
...
- reworking interop client to accpet ClientConfig RPC
- adding new stats RPC
4 years ago
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.
4 years ago
Mark D. Roth
27e1c1c56d
clang-tidy: enable google-readability-braces-around-statements
4 years ago
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.
4 years ago
Nathan Herring
da66b7d14e
Revert "Abseil Flags"
4 years ago
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 .
4 years ago
Esun Kim
aae4f4cf18
Fix by misc-unused-using-decls
4 years ago
Esun Kim
e7434d385e
Fix by tidy-modernize-use-override
4 years ago
Esun Kim
ece76ee1e8
Fix code by readability-container-size-empty
4 years ago
Esun Kim
6d6648c7e1
Fix clang-tidy errors
4 years ago
Vijay Pai
f8b046e819
Eliminate ServerContextBase::Clear/Setup and fix unref process for core call
4 years ago
Yash Tibrewal
d10e06b60a
Add interop test for special_status_message
4 years ago
Eric Gribkoff
8c03da2c0a
Merge pull request #23629 from ericgribkoff/delay_fail_on_failed_rpc
...
Update semantics of --fail_on_failed_rpc
4 years ago
Eric Gribkoff
7df3017c8a
Update semantics of --fail_on_failed_rpc
4 years ago
Mark D. Roth
e681f37054
Remove env var protection of new xds routing code.
4 years ago
Donna Dionne
ea459f72f5
Fixing unsafe std::move.
4 years ago
Donna Dionne
1f30faad13
Fixing call to absl::StrSplit to deal with empty string case.
4 years ago
Donna Dionne
fc8923c0a3
Updating C++ interop client and server to do path matching and header
...
matching tests.
4 years ago
Mark D. Roth
9404f66f70
Replace most uses of gpr_asprintf() with absl calls.
4 years ago