yang-g
9fd55b0d2d
remove duplicate functions
9 years ago
yang-g
7b0edbd1a3
remove the old impl caused by 4921
9 years ago
yang-g
f8174ea37d
use huffman prefix
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
yang-g
0d55750cb2
Maybe it is already ready when we call getstatus
9 years ago
Vijay Pai
8423203cbb
For compatibility with gcc-4.4, eliminate use of sleep_for and
...
std::atomic
9 years ago
yang-g
bf22e0e8a0
remove anonymous namespace in anonymous namespace
9 years ago
yang-g
88d5d52d73
add tls and proxy as dimensions of end2end test
9 years ago
Craig Tiller
71a0f9d3b0
Fix clang-format script
9 years ago
Vijay Pai
fa6e70ff85
Remove one pessimizing std::move
9 years ago
vjpai
3ca49d2a1a
Add a todo regarding a C++ block annotation
9 years ago
Julien Boeuf
c34b2e744c
Do not use string_ref for output params.
...
It is very much unsafe to do so as the string_ref could point on a stack
variable of the callee.
9 years ago
Julien Boeuf
8b0b6f413d
It is a bad idea to have a map with string_refs as output params.
...
This is very much unsafe as the string_ref could point on a stack
variable of the callee.
9 years ago