Craig Tiller
732a875fe8
Add a sanity test for name aliasing
9 years ago
Makarand Dharmapurikar
bfc7adaa71
Added option to echo back user agent for testing
9 years ago
yang-g
364be644d0
copyright of course
9 years ago
yang-g
ad0df7bf1f
Discard the read buffer on stream error
9 years ago
yang-g
c10348a555
Add custom_metadata test case
9 years ago
Vijay Pai
2d435b9178
Fix the slowdown factor
9 years ago
Vijay Pai
3b28872210
1. Adjust tsan/asan/msan slowdowns according to documentation
...
tsan documentation says 2-20x, so set it at 20x
asan documentation says 1.2-2.7x, so set it at 3x
msan documentation says 2-4x, so set it at 4x
This is now much less optimistic than before
2. Reactive tsan tests for qps_test
3. Set CPU load for qps_openloop_test
4. Divide qps_openloop_test Poisson rate by the slowdown factor of
the configuration
9 years ago
yang-g
12a0a2c20b
move tls type name to .cc file
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
64e7875510
Should have a test for 0 and negative alarms to make sure that those make
...
it on to the CQ like any other.
9 years ago
David Garcia Quintas
1689990ff3
clang format
9 years ago
David Garcia Quintas
4105505b33
Fixed refactoring of grpc_arg pointer vtable
9 years ago
Vijay Pai
2815f184a3
Document variable names
9 years ago
Vijay Pai
8a2ff73640
Use more variables for better explanations
9 years ago
Vijay Pai
ed3cd423b6
Use three different load-factors and document load-factor variable
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
Vijay Pai
e40aefb829
Fix the timeout
9 years ago
Vijay Pai
8ca0faaf52
use timeouts with proper fixture multipliers rather than raw,
...
since tsan slows things down a lot and may complicate issues such
as shutdown.
9 years ago
Vijay Pai
1a06082265
Add 70% load scenario for testing with open-loop
9 years ago
Vijay Pai
6583176337
clang-format
9 years ago
vjpai
7914e62d48
Attack of the const police.
...
I also added some unrequested const's
9 years ago
Craig Tiller
eb841e2010
Revert "Revert "Proto API for LB request/responses""
9 years ago
Craig Tiller
c35e2c582f
Revert "Proto API for LB request/responses"
9 years ago
Vijay Pai
761bcb4a18
Cleanup to make it work with clang build
9 years ago
Vijay Pai
914455782f
Sanity (clang-format and copyright)
9 years ago
Vijay Pai
1132c6b7db
Simplify and properly implement openloop testing.
...
Revive it in tests as well
9 years ago
vjpai
dbca72fb01
init test
9 years ago
vjpai
8fdafede06
tag fed in by user should be any arbitrary tag, not a CompletionQueueTag
...
type
9 years ago
vjpai
04e992a750
Make C++ alarm class usable and testable - there were some build issues and
...
it was not actually even included in the library or the test suite.
9 years ago
Vijay Pai
9982c6fc3a
Fix random number generators and improve code style (stop using
...
operator overloads)
9 years ago
yang-g
1945ae4285
Fix copyright
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
murgatroid99
7a55684a13
Clang format and fix copyrights
9 years ago
murgatroid99
309830f6b8
Replace 'long' with 'int64_t' in public core headers
9 years ago
Craig Tiller
f3f8fdbc54
Fix copyright
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