Vijay Pai
6c016efa34
ServerTryCancel was not actually respecting the API since it
...
could be an arbitrary amount of time between when the cancel is tried
and actually observable.
9 years ago
Sree Kuchibhotla
8d543e8e30
Fix ResponseStreamServerCancelAfter test flake
9 years ago
Vijay Pai
bdfec2c86c
SimultaneousReadWritesDone test was not observing the contract on the
...
streaming API. In particular, Finish should not be called until the client
is sure that there is no more message to be read (as documented in
the comments for ClientStreamingInterface::Finish)
9 years ago
yang-g
ad0df7bf1f
Discard the read buffer on stream error
9 years ago
yang-g
4c8aed3dba
Add a helper to return all the secure types
9 years ago
yang-g
17197ddc71
Revert "make an enum"
...
This reverts commit 5152cd29f8
.
9 years ago
yang-g
5152cd29f8
make an enum
9 years ago
yang-g
7d2a3e1917
Refactor end2end_test. Make the credentials a separate library.
9 years ago
Vijay Pai
b65eda4c88
Make the poll override function assert on non-zero timeout if invoked
...
from the end2end test thread itself (done by adding a TLS on that thread)
Also clang-format
9 years ago
Vijay Pai
018879aa9a
Set up poll overrides
9 years ago
vjpai
cf4daebe27
Comment the requirements for changing grpc_poll_function and do
...
poll overrides in such a way as to avoid polling races
9 years ago
yang-g
d59ad7ef39
Provide explicit API for user to set user agent string prefix
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
Craig Tiller
6f87164f3c
Properly handle "." in metadata
9 years ago
Craig Tiller
a44cbfc11c
Fix race condition in transport API
...
Specifically:
Receiving trailing and initial metadata had to be published in
lock-step.
=> If we wanted trailing metadata, we might not get initial metadata processed
until messages arrived.
=> Compression code had no idea what codec to use.
To fix it, publish initial metadata as soon as it's ready (this is a
transport API change).
Requires changes to grpc_call to ensure ordering in processing initial
metadata and messages (one may be delayed).
Exposed at least some bugs in C++ where we never read initial metadata.
I expect at least one more similar bug.
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
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