Craig Tiller
74c0d6fe3f
[c++] Move environment functions to C++ ( #30937 )
...
* [gprpp] Move env to C++
* move headers/impl
* Automated change: Fix sanity tests
* fix
* fix
* Automated change: Fix sanity tests
* Update http_proxy.cc
* fix
* fix
* rename
* fix merge
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
dca225be95
[fixit] Increase sleep time for test `ProxyEnd2endTest.RpcDeadlineExpires` to reduce flakiness ( #30631 )
...
* Increase sleep time for test `ProxyEnd2endTest.RpcDeadlineExpires`
* Update
2 years ago
Anirudh Ramachandra
e89883cc87
Revert "Revert "Fix grpc_sockaddr_to_uri to return URI encoded string. Also see #29323 which has a similar fix for unix abstract addresses."" ( #29798 )
...
Reverts #29639
3 years ago
Mark D. Roth
65a7ce3f04
Revert "Revert "server: add method to expose authority seen by server ( #29768 )" ( #29806 )" ( #29807 )
...
This reverts commit e39e943529
.
3 years ago
Mark D. Roth
e39e943529
Revert "server: add method to expose authority seen by server ( #29768 )" ( #29806 )
...
This reverts commit 449adce98b
.
3 years ago
Mark D. Roth
449adce98b
server: add method to expose authority seen by server ( #29768 )
...
* server: add method to expose authority seen by server
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
3 years ago
Anirudh Ramachandra
440ae5684c
Revert "Fix grpc_sockaddr_to_uri to return URI encoded string. Also see #29323 which has a similar fix for unix abstract addresses."
3 years ago
Anirudh Ramachandra
a31224fc10
Fix grpc_sockaddr_to_uri to return URI encoded string. Also see #29323 which has a similar fix for unix abstract addresses. ( #29478 )
3 years ago
AJ Heller
18a8f6aad9
Refactor end2end tests to exercise each EventEngine ( #29202 )
...
* Refactor end2end tests to exercise each EventEngine
* fix incorrect bazel_only exclusions
* Automated change: Fix sanity tests
* microbenchmark fix
* sanitize, fix iOS flub
* Automated change: Fix sanity tests
* iOS fix
* reviewer feedback
* first pass at excluding EventEngine test expansion
Also caught a few cases where we should not test pollers, but should
test all engines. And two cases where we likely shouldn't be testing
either product.
* end2end fuzzers to be fuzzed differently via EventEngine.
* sanitize
* reviewer feedback
* remove misleading comment
* reviewer feedback: comments
* EE test_init needs to play with our build system
* fix golden file test runner
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
3 years ago
AJ Heller
85189b24bb
Reintroduce: Avoid fully qualifying namespaces (and add check) ( #28917 )
...
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
AJ Heller
e72a5fe5dd
Revert "Avoid fully qualifying namespaces (and add check) ( #28901 )" ( #28916 )
...
This reverts commit fc7314c701
.
3 years ago
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
Mark D. Roth
1050eedb87
enable clang-tidy readability-static-definition-in-anonymous-namespace check ( #28033 )
3 years ago
Craig Tiller
f1f3ac7f02
Revert "Revert "allow connectivity state watching to work on lame channels ( #27747 )" ( #27766 )" ( #27774 )
...
This reverts commit 790ce5c97f
.
3 years ago
Craig Tiller
790ce5c97f
Revert "allow connectivity state watching to work on lame channels ( #27747 )" ( #27766 )
...
This reverts commit a2bd7b8440
.
3 years ago
Mark D. Roth
a2bd7b8440
allow connectivity state watching to work on lame channels ( #27747 )
...
* allow connectivity state watching to work on lame channels
* fix build
* fix lame_client_test
3 years ago
Esun Kim
ec4c61a3ae
Various fixes on absl::Status migration ( #27557 )
3 years ago
Esun Kim
47586fb36e
Revert "Revert "Added absl::Status support to error_utils ( #27358 )" ( #27418 )" ( #27429 )
...
This reverts commit 933676c56c
.
3 years ago
Craig Tiller
933676c56c
Revert "Added absl::Status support to error_utils ( #27358 )" ( #27418 )
...
This reverts commit 9b3f75d322
.
3 years ago
Esun Kim
9b3f75d322
Added absl::Status support to error_utils ( #27358 )
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
Craig Tiller
4f9828fe0b
Remove unnecessary include ( #26761 )
3 years ago
Vijay Pai
0f80378a21
Resolve race between OnReadDone(ok=false) and IsCancelled ( #26245 )
...
* Resolve and test race between OnReadDone(ok=false) and IsCancelled
* Fix retry case
* Fix health check case
* Address reviewer comments.
* ADD TODO requested by markdroth
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
Vijay Pai
dba8bb59a0
Implement callback CQ at C++ layer using shared thread pool if non-background iomgr
4 years ago
Yash Tibrewal
f4e55b85bc
Replace disrespectful term
4 years ago
Esun Kim
53ab235fb8
Fix google-explicit-constructor
4 years ago
Esun Kim
2ff84ed8c2
C++ cast for void*
4 years ago
yang-g
8456e2138a
Check localhost is resolved to ipv4 or ipv6 and update test accordingly.
4 years ago
Esun Kim
e7434d385e
Fix by tidy-modernize-use-override
4 years ago
Esun Kim
6ae8463500
Fix by modernize-make-unique
4 years ago
Vijay Pai
9c5a39c6db
Revert "Merge pull request #23361 from vjpai/em_agnostic_core_callback_cq"
...
This reverts commit a46cb5e86a
, reversing
changes made to b5d42e75fb
.
4 years ago
Vijay Pai
bcb6530717
Revert "Merge pull request #23430 from vjpai/remove_do_not_test"
...
This reverts commit 08d737abf8
, reversing
changes made to 6dc44b33c7
.
4 years ago
Vijay Pai
e1a45fb237
Remove references to skipping callback API tests
4 years ago
Vijay Pai
7ee2bc6db5
EM-agnostic callback completion queue
4 years ago
Esun Kim
165ee5007a
Replaced grpc::string with std::string
4 years ago
Vijay Pai
fa1c66852b
Increase reconnect sleep time to 5x poller interval
5 years ago
Vijay Pai
fe72304e54
Switch registered calls to a map and check the map before inserting
5 years ago
Moiz Haidry
4c5ee108da
Addressed Yang's comments, I have removed usage of const throughout for consistency
5 years ago
Moiz Haidry
67565b767d
CallCredentials debug string API
5 years ago
Vijay Pai
24483d2afd
Address reviewer comments
5 years ago
Vijay Pai
9be35f74c0
Make CancelDelayedRpc test not use sleeps for client-server sync
5 years ago
Prashant Jaikumar
2526dfade5
WIP: Make core and C++ tests work with bazel on Mac OS
5 years ago
Vijay Pai
be6979202b
Revamp server-side C++ callback API, message allocator, and mocking
5 years ago
Esun Kim
e45b60d1fe
Fix unique_ptr<char> memory allocation mismatch
5 years ago
Esun Kim
b2b7fc9af8
Replaced grpc_core::UniquePtr with std::unique_ptr
5 years ago
Vijay Pai
176dfc2289
Remove unused parameter warning (15 of 20)
5 years ago
Vijay Pai
5d7e4bb301
Stop using deprecated gtest macros
5 years ago
Yash Tibrewal
a4cf948b2f
Experimental method to get a debugging only view into credentials
5 years ago
Yash Tibrewal
aa84ceb38e
Add another test for when the credentials were previously set
5 years ago