yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
Vijay Pai
16f738359d
Make sure that we actually saw some resource exhaustion if applicable
6 years ago
Vijay Pai
14ad82a76d
Create a new method handler for resource exhaustion and tie into thread mgr
6 years ago
Noah Eisen
58e0cbf9fb
Enable the performance-* clang-tidy checks
7 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
7 years ago
Vijay Pai
da69355f30
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
7 years ago
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
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
Vijay Pai
4afcf5b566
Remove unused code from thread_stress_test
7 years ago
Vijay Pai
3d7d5f4ed2
Create inproc transport, add relevant tests, exclude irrelevant tests
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Nicolas "Pixel" Noble
3726e3d37b
Moving gtest include down.
...
In some cases, depending on the direction of the wind, and the phase of the moon, gtest can interfere with protobuf badly with macros cross-pollution between the two projects. Moving the gtest inclusion at the end makes the problem go away.
8 years ago
Vijay Pai
56540ba9f9
clang-format
8 years ago
Vijay Pai
b0a6be2b8f
Remove some unnecessary new/delete patterns
8 years ago
Vijay Pai
90102c2bfc
Eliminate unnecessary uses of new[]/delete[] that can be replaced
...
with vector
Also start eliminating uses of plain-old delete that are not helpful
8 years ago
Vijay Pai
320ed13d3e
Deprecate grpc::thread and sync in favor of std::thread,mutex,etc
8 years ago
Vijay Pai
713c7b87e1
clang-format
8 years ago
Vijay Pai
c0b2acb1a0
Use C++11 final and override
8 years ago
Craig Tiller
44b12f9e23
clang-format
8 years ago
Craig Tiller
bd37a21c26
Cleanup, debug support
8 years ago
Vijay Pai
6ab4788ae9
clang-format changes
9 years ago
Vijay Pai
a63271c77f
Deal with to_string, proper usage of nullptr, and lack of map::emplace
9 years ago
vjpai
bd06e441cc
Add virtual destructor to satisfy a requirement of some compilers
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Vijay Pai
98f2f754b8
Used TYPED_TEST to parametrize
...
Include all 4 sync/async client/server combos
9 years ago
Vijay Pai
40d1a2cb87
clang-format
9 years ago
Vijay Pai
bbbbf621e4
Add a concurrent test for sync client, async server case
9 years ago
Craig Tiller
9533d042d4
Fix includes
9 years ago
Craig Tiller
f40df23eeb
Auto-changes
9 years ago
Craig Tiller
45551e0c99
Fix sanity
9 years ago
Nicolas "Pixel" Noble
cd41a0b549
Removing undescores in {GPR,GRPC,CENSUS}_API.
9 years ago
yang-g
5e67246f84
that clang-format
9 years ago
Sree Kuchibhotla
001db590ff
Modify the test to have large number of threads receiving the RPCs and a
...
smaller number of threads sending the RPCs. This increases the
likelyhood of race-conditions on receiving threads.
9 years ago
Vijay Pai
0a3a766960
Give tsan a chance
9 years ago
Vijay Pai
feef8be5ae
clang-format
9 years ago
Vijay Pai
63b28447e8
Remove the command-line flags
9 years ago
Vijay Pai
490e5023d7
Fix a typecast...
9 years ago
Vijay Pai
e51d29d93c
Remove some std:: so that grpc:: will be used by default when available
9 years ago
Vijay Pai
9f3bbb00d8
Generalize namespace for ParseCommandLineFlags
9 years ago
Vijay Pai
d10bbb63f8
Refactor to favor composition over inheritance
...
Also make num_threads and num_rpcs as command-line flags
9 years ago
vjpai
c1e70dbc61
100->1000
9 years ago
vjpai
79bdde2ac3
Make async message match sync
9 years ago
Vijay Pai
c7c5639d3e
Make TearDown follow typical gtest fixture format
9 years ago
Vijay Pai
e3b03712fd
100->1000
9 years ago
Vijay Pai
4dc269ed98
Merge async client thread stress test into main thread stress test so as to
...
improve code reuse
9 years ago
David Garcia Quintas
2bf574f814
Added back trailing newlines
9 years ago
murgatroid99
ace28d3f98
Fix copyrights again
9 years ago
Sree Kuchibhotla
b0d0c8e8c2
FormatCode
9 years ago