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
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
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 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
Vijay Pai
47f2b461ef
clang-format
5 years ago
Vijay Pai
53e19e8de2
Remove unused parameter warning (20 of 20)
5 years ago
Vijay Pai
8908b58bc2
Make sure test does something
5 years ago
Vijay Pai
c2d749dea0
Fix portability issues and make more readable
5 years ago
Vijay Pai
d16c6792b0
Make thread_manager_test look like other tests
5 years ago
Bill Feng
1a09899d3e
reverted change on thread manager test
6 years ago
Bill Feng
d93959853f
Enabled Windows Bazel build for cpp tests
6 years ago
Vijay Pai
14ad82a76d
Create a new method handler for resource exhaustion and tie into thread mgr
6 years ago
Sree Kuchibhotla
bdd13cb0ae
Revert "Revert "Restrict the number of threads in C++ sync server""
6 years ago
Nicolas Noble
bea98c3c1b
Revert "Restrict the number of threads in C++ sync server"
6 years ago
Sree Kuchibhotla
c2a22a1ab8
Address core review comments
6 years ago
Sree Kuchibhotla
b95772eeb9
Add Tests in Core and C++ and fix a few related bugs in thread_manager.cc
6 years ago
Sree Kuchibhotla
ec1c112cc1
Each ThreadManager is a resource user
6 years ago
Muxi Yan
2a03c876ec
Fix one more file
7 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
7 years ago
Jan Tattermusch
c9ec2c0888
Revert "Stop using std::thread in C++ library since it can trigger exceptions"
7 years ago
Vijay Pai
5dd32268be
Switch C++ sync server to use gpr_thd rather than std::thread and provide resource exhaustion mechanism
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
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Craig Tiller
570fad827c
Fix printf format
8 years ago
Jan Tattermusch
bd0b0546a6
windows compilation fixes
8 years ago
Vijay Pai
713c7b87e1
clang-format
8 years ago
Vijay Pai
c0b2acb1a0
Use C++11 final and override
8 years ago
Sree Kuchibhotla
14b701c114
Use nullptr instead of NULL. Move test to grpc namespace so that when using gcc4.4, we use nullptr definition in grpc++/impl/codegen/config.h
8 years ago
Sree Kuchibhotla
cb4cd3dc5d
make gcc4.4 happy
8 years ago
Sree Kuchibhotla
3fc578345d
Change std::atomic_int to gpr_atm since gcc4.4 is complaining
8 years ago
Sree Kuchibhotla
069c12de23
Fix thread_manager_test
8 years ago
Sree Kuchibhotla
85399f0824
clang formatting fixes
8 years ago
Sree Kuchibhotla
6135535ca7
Minor changes and called generate_projects.sh again
8 years ago
Sree Kuchibhotla
920ed0c418
Modify Thread manager test
8 years ago
Sree Kuchibhotla
385c9b2f05
Address code review comments
8 years ago
Sree Kuchibhotla
d39f40da9e
Fix include files
8 years ago
Sree Kuchibhotla
8f7739bcd6
Rename GrpcRpcManager -> ThreadManager
8 years ago
Sree Kuchibhotla
acd64db4d9
Minor changes
8 years ago
Sree Kuchibhotla
a7a21d2049
Make sync server settings configurable
8 years ago
Sree Kuchibhotla
18d3ace7db
fix test
8 years ago
Sree Kuchibhotla
0ba41907a2
Minor changes to GrpcRpcManager
8 years ago
Sree Kuchibhotla
8600438d54
Add more functionality (no cq integration yet) and add a dummy test
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
vjpai
21e5d2b2f1
Add a Quit RPC so that we can conveniently shut down the workers from the driver.
9 years ago
vjpai
2c42bb1d18
Copyright fixes for sanity
9 years ago