Vijay Pai
d10bbb63f8
Refactor to favor composition over inheritance
...
Also make num_threads and num_rpcs as command-line flags
9 years ago
Craig Tiller
e1c2d6a6df
Fix clang3.7/tsan compile failure
9 years ago
Sree Kuchibhotla
4aadcb4ebf
Run tools/distrib/clang_format_code.sh
9 years ago
yang-g
9fd55b0d2d
remove duplicate functions
9 years ago
yang-g
7b0edbd1a3
remove the old impl caused by 4921
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
Sree Kuchibhotla
369a04ace6
Address code review comments
9 years ago
yang-g
f8174ea37d
use huffman prefix
9 years ago
Sree Kuchibhotla
0f242acb9d
Comments and a minor fix
9 years ago
Sree Kuchibhotla
4fb590852f
Use the same completion queue for both client and server
9 years ago
Sree Kuchibhotla
f25c6ba229
Comments and format
9 years ago
Sree Kuchibhotla
944f4cf14e
Sync server end2end and async_end2end tests
9 years ago
Craig Tiller
a0fef14784
clang-format code
9 years ago
Craig Tiller
b0f275e4af
Small testing fixes
...
- end2end test deadlines may complete before checking IsCancelled
=> don't expect it to be false in these cases
- add exponential backoff to port_posix
- ensure run_tests rebuilds targets with a regex I commonly use
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
Vijay Pai
dac77d600c
Trim some unused code copied from another test.
9 years ago
Vijay Pai
abd5aa402f
Introduce thread stress test using async client. The server is still sync
...
for now. This will increase our coverage of concurrent execution cases in C++
since we don't currently have any coverage for multithreaded async execution using
a common completion queue.
In this test, 100 client threads initiate 1000 RPCs each, then join, and then
100 client threads come along to proces those RPC completion events as they come back.
9 years ago
David Garcia Quintas
f3ddb7c55a
clang-format
9 years ago
yang-g
b971173712
Add tests with a second service
9 years ago
yang-g
4fac82b672
remove outdated api
9 years ago
yang-g
ad63510102
Add a test with two methods generic
9 years ago
yang-g
9f17314a35
move utilities to a separate file
9 years ago
yang-g
c021c9be5b
clang-format
9 years ago
yang-g
269b8be406
add generic test
9 years ago
yang-g
d6f7d99dc6
Add a hybrid end2end test mixing sync and async methods
9 years ago
David Garcia Quintas
2bf574f814
Added back trailing newlines
9 years ago
yang-g
be5a2c4f04
working test
9 years ago
murgatroid99
ace28d3f98
Fix copyrights again
9 years ago
Sree Kuchibhotla
b0d0c8e8c2
FormatCode
9 years ago
Sree Kuchibhotla
5a05f51a1c
Rename TestService to EchoTestService to prevent name-conflict with
...
'TestService' in test.proto
9 years ago
murgatroid99
3466c4b55d
Updated copyrights
9 years ago
Craig Tiller
15f383c6cc
Exploratory refactoring for mixed sync/async methods on the same C++ service
9 years ago
Craig Tiller
7536af02cf
Eliminate gpr_ int types - and insist on C99 variants instead
9 years ago
Craig Tiller
0fe5ee7be3
BoringSSL integration: non-vsprojects changes
9 years ago
Craig Tiller
1b4e33029e
Consolidate C++ proto files under src/proto
...
- make the directory structure match the package structure
- sanitize the package structure (test --> testing)
- add auto-detection of proto file dependencies
9 years ago
Craig Tiller
ca9a637877
Fix double read at end of stream bug
9 years ago
Craig Tiller
620e965c1b
clang-format after last weeks test-fest
9 years ago
vjpai
017ed62ce4
Cover an unsupported case of mixing sync and async service in same server
9 years ago
vjpai
ba2b8ed553
Add a case to cover multiple adds of generic service
9 years ago
Julien Boeuf
114f39475f
Cpp example of how the plugins can be done.
9 years ago
yang-g
a89bf50cf1
Handle cancel before start case
9 years ago
vjpai
6bf1de9ab2
Mark a method with GRPC_OVERRIDE to avoid compiler warning
9 years ago
Craig Tiller
93b944785c
stream_op cleanup: test fixes and updates
9 years ago
Julien Boeuf
18a12c4e9b
Fixing zookeeper tests as well.
9 years ago
Julien Boeuf
e5adc0eb67
Fixing Cpp tests.
9 years ago
yang-g
c04610357c
The Writes may return false after the server cancels the stream
9 years ago