Esun Kim
be26969058
[CI] Upgraded clang to 18 in sanity tests ( #37593 )
...
Closes #37593
PiperOrigin-RevId: 668971470
5 months ago
Tanvi Jagtap
154081a92a
[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log ( #36678 )
...
[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log
In this CL we are migrating from gRPCs own gpr logging mechanism to absl logging mechanism. The intention is to deprecate gpr_log in the future.
We have the following mapping
1. gpr_log(GPR_INFO,...) -> LOG(INFO)
2. gpr_log(GPR_ERROR,...) -> LOG(ERROR)
3. gpr_log(GPR_DEBUG,...) -> VLOG(2)
Reviewers need to check :
1. If the above mapping is correct.
2. The content of the log is as before.
gpr_log format strings did not use string_view or std::string . absl LOG accepts these. So there will be some elimination of string_view and std::string related conversions. This is expected.
Closes #36678
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36678 from tanvi-jagtap:test_cpp_gpr_log 81b8f4179f
PiperOrigin-RevId: 636410944
9 months ago
Mark D. Roth
0944410d6c
[reorg] move test/core/util -> test/core/test_util ( #36446 )
...
Closes #36446
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36446 from markdroth:reorg_test 5dcc85e006
PiperOrigin-RevId: 629229220
10 months ago
Craig Tiller
67f364e23e
[cleanup] Eliminate usage of GRPC_ASSERT(false...); ( #31757 )
...
* crash function
* progress
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fixes
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
* fix
* fix
* use cpp attr
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix
* fix
* add exclusion
* fix
* typo
* fix
* fmt
* Update tcp_socket_utils.cc
* Automated change: Fix sanity tests
* fix
* revert php changes
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Yijie Ma
f99b8b5bc4
Convert c-style comments to C++-style comments ( #31923 )
...
* baseline
* fix clang-tidy
* manually revert these files
* manually fixup at eof
* revert 2 more files
* change check_deprecated_grpc++.py
* change end2end_defs.include template
* fix check_include_guards.py
* untrack tools/distrib/python/convert_cstyle_comments_to_cpp.py
not yet ready to be submitted
* fix
yapf check_include_guards.py
remove a space...
* fix version.cc.template
* fix version_info.h.template
2 years ago
Esun Kim
f3fedae7c8
Added readability-redundant-string-cstr ( #31707 )
...
* Added readability-redundant-string-cstr
* Auto fix
* No need to wrap std::string
2 years ago
Alisha Nanda
0307759b9b
Fix OOM issues in qps tests ( #26888 )
4 years ago
Mark D. Roth
27e1c1c56d
clang-tidy: enable google-readability-braces-around-statements
4 years ago
Esun Kim
e7434d385e
Fix by tidy-modernize-use-override
4 years ago
Esun Kim
b3469c723e
Pre-assigned the server port and added more logs
5 years ago
Mark D. Roth
c769951764
Remove deprecated variant of JoinHostPort().
5 years ago
Vijay Pai
6622c94c17
Shutdown server properly before CQs
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
37d248abd0
Remove unused parameter warning (19 of 20)
5 years ago
Soheil Hassas Yeganeh
dbf88dd66f
Revert "Revert "Introduce string_view and use it for gpr_split_host_port.""
...
This reverts commit 80c177d4c4
.
6 years ago
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
Karthik Ravi Shankar
1d357572cf
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"
...
This reverts commit d8d8bec7c8
.
6 years ago
Karthik Ravi Shankar
0692dcc16a
Fix tests namespaces
6 years ago
Karthik Ravi Shankar
5906b86119
Fix tests to use grpc namespace
6 years ago
Karthik Ravi Shankar
d8d8bec7c8
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
...
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
6 years ago
Karthik Ravi Shankar
82c6e012d8
Revert "Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota""
6 years ago
Karthik Ravi Shankar
b3889585a1
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"
6 years ago
Karthik Ravi Shankar
f7dd48b2b6
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
...
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
6 years ago
Vijay Pai
432b34bf74
Initialize value before creating slice
6 years ago
Alex Polcyn
92e0a70ec6
Make QPS server builder customizeabled
7 years ago
kpayson64
7a20c962df
Break out qps services into seperate protos
7 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
7 years ago
Vijay Pai
7fed69b7ad
Use static_cast rather than reinterpret_cast whenever possible
7 years ago
Vijay Pai
ae376bf9d9
Privatize host_port.h; was not used in any wrapped language implementation
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Ken Payson
918ce7a686
Fix QPS Async Client Next loop
7 years ago
yang-g
37f1bd13ab
clear the request
7 years ago
Ken Payson
42bd87e376
Adds gRPC Experimental CQ DoThenAsyncNext lambda API
7 years ago
Vijay Pai
088112fea1
Create inproc version of QPS test and add a few simple tests of this to standard testing suite.
7 years ago
Vijay Pai
c38955501b
Move some internal includes to the right places
8 years ago
Vijay Pai
e1418e4ab1
Switch to idiomatic Slice API
8 years ago
Craig Tiller
873ee82277
Add channel args to qps server
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Vijay Pai
4b07aab513
Support multiple threads per cq sharing, add tests
8 years ago
Yuxuan Li
85d3a53905
change gpr_atm to int
8 years ago
Yuxuan Li
87827e03aa
use lock instand of atomics, fix include position
8 years ago
Yuxuan Li
bfb495d026
add override to GetPollCount() function
8 years ago
Yuxuan Li
f8365cd87b
clean up, fix minor issue
8 years ago
Yuxuan Li
28efff3e1e
clang-format
8 years ago
Yuxuan Li
5d3ddeeea1
adding server side poll stat
8 years ago
Vijay Pai
eea8cf0fe3
Add QPS tests for one-sided streaming
8 years ago