vjpai
2697f2141f
Merge branch 'master' into debug_qps_stream
2016-03-10 23:53:43 -08:00
David Garcia Quintas
b942640497
clang-format
2016-03-08 16:25:11 -08:00
Aaron Isotton
24e69bf02a
Added a channel argument to set the maximum reconnect backoff duration. Extended the interop test to test the custom reconnect backoffs.
...
This closes #5377 .
2016-03-08 14:21:31 -08:00
David Garcia Quintas
81932891af
Merge branch 'master' of github.com:grpc/grpc into codegen_lib
2016-03-08 14:12:18 -08:00
Craig Tiller
baaf65546a
Fix formatting
2016-03-07 22:39:11 -08:00
Craig Tiller
4560bda1da
Merge github.com:grpc/grpc into cleaner-posix2
2016-03-07 20:17:10 -08:00
Craig Tiller
710d58cfae
Disable profiling in qps_worker for now
2016-03-07 20:00:50 -08:00
Sree Kuchibhotla
b0d1567e8e
Revert "Revert "Properly integrate async API with server-side cancellations.""
2016-03-07 10:51:02 -08:00
David Garcia Quintas
4ac52fa6dd
WIP. Added codegen_test
2016-03-06 20:31:39 -08:00
Sree Kuchibhotla
edd96e4926
Revert "Properly integrate async API with server-side cancellations."
2016-03-04 14:32:50 -05:00
Dan Born
51221f1e7e
clang reformat.
2016-03-03 17:44:50 -08:00
Dan Born
f2f7d57c01
Allow use of alternative credential types.
2016-03-03 17:26:12 -08:00
Vijay Pai
dbf47fabd4
Better comments.
2016-03-03 16:25:06 -08:00
Vijay Pai
2e729387f7
clang-format
2016-03-03 14:22:12 -08:00
Vijay Pai
13ee2f2df3
Properly integrate async API with server-side cancellations.
...
There is a comment above IsCancelled that says when it is ok to use this.
2016-03-03 13:57:32 -08:00
vjpai
b7117e409b
Merge branch 'master' into debug_qps_stream
2016-03-03 06:59:16 -08:00
Craig Tiller
0cb803d9ca
Always ref writable streams
...
We suffered a bug whereby doing a follow-up write to another write could
resurrect a deleted stream, causing all sorts of crash.
Fix: when a stream becomes writable (vs when we start writing) take a
ref on the stream, and only relinquish it once we're done writing.
2016-03-02 22:34:23 -08:00
Craig Tiller
98990726a0
Revert "Update reconnect_interop_server.cc"
2016-03-02 22:04:00 -08:00
David Garcia Quintas
eef5c01cf4
clang-format
2016-03-02 20:38:49 -08:00
David Garcia Quintas
94c80d8389
copyrights
2016-03-02 20:35:07 -08:00
Craig Tiller
c6611efb67
Revert "Update reconnect_interop_client.cc"
2016-03-02 17:43:09 -08:00
Yang Gao
f7d6d3821a
Merge pull request #5539 from grpc/makdharma-comment
...
Update reconnect_interop_server.cc
2016-03-02 21:56:22 +00:00
makdharma
38a560b6ba
Update reconnect_interop_server.cc
2016-03-02 13:50:58 -08:00
makdharma
bd50f305a3
Update reconnect_interop_client.cc
2016-03-02 13:49:51 -08:00
Yang Gao
e788e8bf8d
Merge pull request #5523 from vjpai/e2e_stc
...
Fix ServerTryCancel in end2end tests
2016-03-02 07:45:45 +00:00
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.
2016-03-01 16:27:53 -08:00
Sree Kuchibhotla
9e5a05af8a
Fix clang format issue
2016-03-01 09:40:12 -08:00
Sree Kuchibhotla
8d543e8e30
Fix ResponseStreamServerCancelAfter test flake
2016-02-29 18:22:25 -08:00
Jan Tattermusch
8ba6a6b321
Merge pull request #5402 from sreecha/stress_test_scripts
...
Stress test scripts to launch in GKE
2016-02-29 15:01:54 -08:00
Sree Kuchibhotla
e1dd18a945
Fix copyright
2016-02-29 13:28:55 -08:00
Dan Born
ef7e42660c
Merge pull request #5405 from daniel-j-born/custom_test_creds
...
Allow new credential types to be added to tests.
2016-02-29 12:52:59 -08:00
Vijay Pai
c47c9497fa
clang-format
2016-02-26 14:39:59 -08:00
vjpai
60a7e3336d
Finish clients fully before finishing servers
2016-02-26 10:30:17 -08:00
vjpai
e7042b5ddf
Simplify Mark processing code
2016-02-25 20:28:05 -08:00
Craig Tiller
7c07aacb0f
Fix async e2e
2016-02-25 20:18:53 -08:00
Vijay Pai
02eda41d21
Do stream operations in a more idiomatic way: Write, WritesDone, Read until fail, Finish
2016-02-25 19:43:57 -08:00
Vijay Pai
544b98fca3
Merge pull request #5293 from dgquintas/alarm_cpp
...
Made Alarm's constructor a template for deadline
2016-02-25 14:46:14 -08:00
Dan Born
9084418426
Merge branch 'master' into custom_test_creds
2016-02-25 14:23:26 -08:00
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)
2016-02-25 11:51:21 -08:00
Nicolas "Pixel" Noble
7204010c05
Fixing format and copyright.
2016-02-25 07:39:36 +01:00
Dan Born
1b5a264eb8
Allow new credential types to be added to tests.
2016-02-24 18:52:39 -08:00
Yang Gao
0f62f5d9a7
Merge pull request #5401 from daniel-j-born/test_creds
...
Injectable test credentials provider interface.
2016-02-24 16:24:29 -08:00
Dan Born
53a94ef4e7
Use standard include paths.
2016-02-24 15:44:43 -08:00
Dan Born
7275f36411
Initialize mutex to nullptr.
2016-02-24 15:09:16 -08:00
Dan Born
f30941cd95
Injectable test credentials provider interface.
2016-02-24 14:55:02 -08:00
vjpai
e2d39e08f9
Timer->UsageTimer consistently
2016-02-24 12:36:15 -08:00
Sree Kuchibhotla
559e45becd
Scripts to launch stress tests in GKE
2016-02-24 11:15:53 -08:00
Nicolas Noble
86b258c462
Merge pull request #5388 from vjpai/bourne_again
...
Use traditional Bourne shell syntax for piping stdout and stderr
2016-02-24 10:29:22 -08:00
vjpai
6483c32f7c
BSD platforms (such as Mac) are likely to have /bin/sh refer to traditional
...
Bourne shell syntax, not Bash syntax. Change "|&" to "2>&1 |" since that's the
traditional way to redirect stdout and stderr to a pipe
2016-02-24 09:29:12 -08:00
Craig Tiller
4ea4599a50
Merge github.com:grpc/grpc into naming-crisis
2016-02-23 17:13:38 -08:00
Vijay Pai
953e41a01a
Merge pull request #5321 from vjpai/openloop
...
TSAN/ASAN timeout and QPS rate adjustments
2016-02-23 13:02:55 -08:00
David G. Quintas
0a5f61325a
Merge pull request #5213 from ctiller/fix-proto-docker
...
Proto API for LB request/responses (redux)
2016-02-23 11:19:01 -08:00
Sree Kuchibhotla
44ca2c2640
Examples
2016-02-23 10:03:00 -08:00
David Garcia Quintas
e2f243ba7c
clang format
2016-02-23 09:38:41 -08:00
Craig Tiller
19fa540100
Fix copyrights
2016-02-23 08:19:39 -08:00
David Garcia Quintas
45add8a445
Merge branch 'master' of github.com:grpc/grpc into alarm_cpp
2016-02-22 23:15:28 -08:00
David G. Quintas
27b3f776da
Merge pull request #5311 from vjpai/qa
...
Add a test for immediate and historic alarms
2016-02-22 23:05:15 -08:00
Craig Tiller
6541cabe9d
clang-fmt
2016-02-22 22:41:53 -08:00
Craig Tiller
70ab4c5cef
Merge github.com:grpc/grpc into fix-proto-docker
2016-02-22 22:29:51 -08:00
Craig Tiller
c866f7281f
Merge github.com:grpc/grpc into naming-crisis
2016-02-22 22:23:43 -08:00
Craig Tiller
521423c8cf
Regenerate files, fix bugs
2016-02-22 22:22:22 -08:00
David Garcia Quintas
0160873273
PR comments addressed
2016-02-22 17:49:45 -08:00
Sree Kuchibhotla
acbcdb6d94
Merge pull request #5347 from yang-g/check_error_in_read
...
Discard the read buffer on stream error
2016-02-22 17:45:43 -08:00
Vijay Pai
e32ef7acde
Make timeout instant as well
2016-02-22 17:25:51 -08:00
Vijay Pai
b586cd0eb5
Merge branch 'master' into openloop
2016-02-22 16:16:03 -08:00
Vijay Pai
a412162e9e
Merge branch 'master' into qa
2016-02-22 16:15:32 -08:00
Craig Tiller
732a875fe8
Add a sanity test for name aliasing
2016-02-22 15:59:19 -08:00
Makarand Dharmapurikar
bfc7adaa71
Added option to echo back user agent for testing
2016-02-22 15:42:18 -08:00
David G. Quintas
4f2745030d
Merge pull request #5332 from yang-g/interop_echo_metadata
...
Add custom_metadata test case
2016-02-22 14:05:58 -08:00
yang-g
364be644d0
copyright of course
2016-02-22 10:04:43 -08:00
yang-g
ad0df7bf1f
Discard the read buffer on stream error
2016-02-22 10:00:20 -08:00
Craig Tiller
fc6fec2a2d
Merge pull request #5258 from vjpai/poll_override2
...
Avoid a race when overriding default poll function
2016-02-21 22:59:52 -08:00
yang-g
c10348a555
Add custom_metadata test case
2016-02-19 16:05:10 -08:00
Vijay Pai
2d435b9178
Fix the slowdown factor
2016-02-19 00:42:08 -08:00
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
2016-02-19 00:28:28 -08:00
yang-g
12a0a2c20b
move tls type name to .cc file
2016-02-19 00:22:20 -08:00
yang-g
4c8aed3dba
Add a helper to return all the secure types
2016-02-19 00:19:39 -08:00
yang-g
17197ddc71
Revert "make an enum"
...
This reverts commit 5152cd29f8 .
2016-02-19 00:04:22 -08:00
yang-g
5152cd29f8
make an enum
2016-02-18 16:37:51 -08:00
yang-g
7d2a3e1917
Refactor end2end_test. Make the credentials a separate library.
2016-02-18 15:41:56 -08:00
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.
2016-02-18 13:38:32 -08:00
Craig Tiller
16f6826ffd
Merge github.com:grpc/grpc into fix-proto-docker
2016-02-18 07:14:37 -08:00
David Garcia Quintas
1689990ff3
clang format
2016-02-17 18:32:17 -08:00
David Garcia Quintas
4105505b33
Fixed refactoring of grpc_arg pointer vtable
2016-02-17 18:23:15 -08:00
Sree Kuchibhotla
ac94c430d2
Merge pull request #5186 from yang-g/inherit_from_grpc_library
...
Provide explicit API for user to set user agent string prefix
2016-02-17 15:51:57 -08:00
Vijay Pai
2815f184a3
Document variable names
2016-02-17 13:55:03 -08:00
Vijay Pai
8a2ff73640
Use more variables for better explanations
2016-02-17 09:21:10 -08:00
Vijay Pai
ed3cd423b6
Use three different load-factors and document load-factor variable
2016-02-17 08:49:03 -08:00
Vijay Pai
ee53dc5e08
Merge branch 'master' into loaded
2016-02-16 13:51:38 -08:00
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
2016-02-16 13:49:22 -08:00
Vijay Pai
837c9bda1d
Merge branch 'master' into poll_override2
2016-02-16 13:28:31 -08:00
Vijay Pai
018879aa9a
Set up poll overrides
2016-02-16 09:20:50 -08:00
vjpai
cf4daebe27
Comment the requirements for changing grpc_poll_function and do
...
poll overrides in such a way as to avoid polling races
2016-02-15 02:33:54 -08:00
Vijay Pai
e40aefb829
Fix the timeout
2016-02-13 01:25:30 -08:00
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.
2016-02-13 00:25:45 -08:00
Vijay Pai
8eef7e3b58
Merge branch 'master' into alarm_openloop
2016-02-12 18:11:28 -08:00
Vijay Pai
1a06082265
Add 70% load scenario for testing with open-loop
2016-02-12 17:34:08 -08:00
Vijay Pai
c84cb3e00a
Merge branch 'alarm_openloop' into loaded
2016-02-12 16:25:30 -08:00
Vijay Pai
6583176337
clang-format
2016-02-12 15:59:03 -08:00
vjpai
7914e62d48
Attack of the const police.
...
I also added some unrequested const's
2016-02-12 15:57:08 -08:00