Vijay Pai
90e7369484
clang-format plus helpful comments
2015-08-05 19:15:36 -07:00
Hongwei Wang
2b1b95a792
Change zookeeper address to grpc-jenkins-master in zookeeper_test
2015-08-05 17:32:43 -07:00
Hongwei Wang
443a7501bb
Zookeeper test add authority in client context
2015-08-05 16:27:54 -07:00
Vijay Pai
eed63fa267
Remaining changes needed to get QPS test working on old compilers.
...
This change contains a lot of ugly changes, such as changing
std::vector to allocation by new, etc.
2015-08-05 23:08:34 +00:00
Craig Tiller
2c3be1df4f
Add tests for C++ propagation
2015-08-05 15:59:27 -07:00
yang-g
8708dd76c1
Add WaitForState
2015-08-05 15:57:14 -07:00
yang-g
36f5965247
clean up and add a test
2015-08-05 15:15:18 -07:00
Hongwei Wang
bc7405c320
Merge branch 'master' of https://github.com/grpc/grpc into zookeeper
2015-08-05 12:46:17 -07:00
Vijay Pai
4e407ba343
Merge pull request #2656 from yang-g/reconnect_branch_based_on_jitter
...
Connection backoff interop test client and server
2015-08-05 12:01:12 -07:00
Yang Gao
d2e9cb3b92
Merge pull request #2765 from ctiller/the-test-be-sleepy
...
Fix edge cases in CHTTP2 resulting in lose of send close from clients
2015-08-05 11:47:30 -07:00
Yang Gao
507bdb4c03
Merge pull request #2808 from a11r/status_interop
...
Added interop test for status_code_with_message
2015-08-05 11:39:59 -07:00
Hongwei Wang
4346e53be6
Merge branch 'master' of https://github.com/grpc/grpc into zookeeper
2015-08-05 11:21:15 -07:00
Abhishek Kumar
e1c867dbee
Added interop test for status_code_with_message
2015-08-05 11:04:45 -07:00
yang-g
ebd7a59fd9
Merge remote-tracking branch 'upstream/master' into reconnect_branch_based_on_jitter
2015-08-05 09:26:42 -07:00
Craig Tiller
220adcc745
Merge branch 'primary-goat-whisperer' into the-test-be-sleepy
2015-08-05 07:16:52 -07:00
yang-g
5239ee2bd0
Merge remote-tracking branch 'upstream/master' into cancel
2015-08-04 16:15:57 -07:00
yang-g
b335256444
Add AsyncNotifyWhenDone
2015-08-04 14:42:06 -07:00
Craig Tiller
902d9c4722
Merge pull request #2749 from yang-g/default_host_to_null
...
Pass NULL as host by default. Use context.authority() or channel.SslN…
2015-08-04 14:28:49 -07:00
Craig Tiller
82389ecf1a
Merge branch 'primary-goat-whisperer' into the-test-be-sleepy
2015-08-04 09:01:36 -07:00
Julien Boeuf
095f4f9559
Merge branch 'master' of github.com:grpc/grpc into auth_md_processor
2015-08-03 15:44:09 -07:00
Hongwei Wang
72538b9103
Merge branch 'master' of https://github.com/grpc/grpc into zookeeper
2015-08-03 12:29:18 -07:00
Hongwei Wang
eace1904de
Zookeeper resolver end-to-end test: zookeeper state change between two RPCs
2015-08-03 12:22:32 -07:00
yang-g
43728840ca
merge with head and resolve conflicts
2015-08-03 11:16:26 -07:00
Craig Tiller
fb21ae6040
Re-enable all the tests
2015-08-03 10:16:11 -07:00
yang-g
940d555a63
fix generic_end2end_test
2015-07-31 22:11:41 -07:00
Craig Tiller
7c1be05463
Line up starting times
2015-07-31 15:38:37 -07:00
Hongwei Wang
1284552713
Merge branch 'master' of https://github.com/grpc/grpc into zookeeper
2015-07-31 15:22:13 -07:00
Hongwei Wang
8e04d4107e
Add zookeeper end-to-end test
2015-07-31 15:12:51 -07:00
yang-g
b803313b2c
merge with head and resolve conflicts
2015-07-31 14:15:36 -07:00
yang-g
8ab383686b
add a test where a read and a writesdone happen at the same time
2015-07-31 14:05:33 -07:00
Vijay Pai
bc78c2069c
Eliminate use of this_thread::sleep_until
2015-07-31 11:24:06 -07:00
Vijay Pai
784005b4a2
Eliminate lambda used as CV predicate
2015-07-31 10:53:42 -07:00
Vijay Pai
458faa98ce
Eliminate user of lambda in server definition
2015-07-31 10:30:13 -07:00
Vijay Pai
4d06e2eae9
Eliminate use of lambdas in ResourceUsage processing functions...
...
Introduce simple getters instead.
2015-07-31 10:20:42 -07:00
Vijay Pai
ab1dba72dc
clang-format
2015-07-31 09:09:09 -07:00
Craig Tiller
be043d9ce7
Merge branch 'auth_md_processor' of github.com:jboeuf/grpc into complain-with-both-passion-and-meaning
2015-07-31 08:51:11 -07:00
vjpai
09d0b0cf47
Remove lambdas from state machine functions
2015-07-31 08:39:54 -07:00
vjpai
e88bb07895
Switch a push_back to emplace_back to avoid being interpreted
...
as a copy constructor
2015-07-31 08:39:31 -07:00
vjpai
a9e08303d7
Remove lambda from client definition
2015-07-31 07:55:06 -07:00
vjpai
51b48176ca
Merge branch 'master' into asklipion
2015-07-31 07:34:47 -07:00
yang-g
b36a582c96
merge with head
2015-07-30 15:10:06 -07:00
yang-g
dc71eeba7b
remove braces
2015-07-30 11:49:52 -07:00
yang-g
dcf6c90b33
merge with head
2015-07-30 11:35:18 -07:00
yang-g
d7ead699f8
Add a test
2015-07-30 10:57:45 -07:00
yang-g
3d769d7f23
notify inside lock
2015-07-30 09:57:12 -07:00
Craig Tiller
94fad8119e
Tune down number of channels for qps_test
2015-07-30 07:55:02 -07:00
yang-g
19e9c09700
merge with upstream
2015-07-28 09:30:20 -07:00
vjpai
582c687b4c
Remove use of C++11 randomization engines
2015-07-27 16:39:28 -07:00
yang-g
4f61528b96
Support two clients calling start simultaneously
2015-07-27 15:48:46 -07:00
Craig Tiller
dfc42da760
Merge github.com:grpc/grpc into sometimes-its-good-just-to-check-in-with-each-other
...
Conflicts:
src/core/iomgr/tcp_server_windows.c
2015-07-26 12:37:53 -07:00
Yang Gao
2a31304d7f
Merge pull request #2647 from vjpai/deepend
...
Dynamic-sized thread pool
2015-07-24 23:08:27 -07:00
Yang Gao
1fedc800dc
Merge pull request #2655 from vjpai/expecteq
...
Switch an int to size_t or else it fails on Mac
2015-07-24 21:59:03 -07:00
Yang Gao
e08cc80ea0
Merge pull request #2662 from vjpai/the_isolation_of_nullptr
...
Isolate nullptr to grpc namespace when we must define it ourselves
2015-07-24 21:49:07 -07:00
jboeuf
5749a3f467
Merge pull request #2605 from yang-g/fake_transport_security_to_private
...
Fake transport security to private
2015-07-24 21:30:35 -07:00
Vijay Pai
d2a9b6da13
Isolate nullptr to grpc namespace when we must define it ourselves
...
Change the one non-namespace use of nullptr to NULL (used as an
argument to a C function anyway)
2015-07-25 00:56:33 +00:00
yang-g
c9c69e27da
Add reconnect interop test client and server
2015-07-24 14:38:26 -07:00
vjpai
51d22752d6
Switch an int to size_t or else it fails on Mac
2015-07-24 14:11:04 -07:00
Vijay Pai
f0c66c6365
Merge branch 'master' into deepend
2015-07-24 10:51:27 -07:00
Vijay Pai
67ab91052d
Start off with zero reserve threads to make sure that that case works
2015-07-23 16:32:25 -07:00
Vijay Pai
1f3e6c1ebe
Start switching everything to dynamic pool
2015-07-23 16:18:21 -07:00
Craig Tiller
dd161a0abd
Merge github.com:grpc/grpc into virtuous-velvit-velociraptor
2015-07-23 15:30:54 -07:00
vjpai
b28456b1e4
Add dynamic thread pool and initial port of test
2015-07-23 14:17:10 -07:00
Yang Gao
2e7ce15635
Merge pull request #2617 from jboeuf/jwt_creds_renaming
...
Renaming jwt_credentials to service_account_jwt_access_credentials.
2015-07-23 13:29:01 -07:00
Craig Tiller
b256faa353
Merge github.com:grpc/grpc into sometimes-its-good-just-to-check-in-with-each-other
2015-07-23 11:28:16 -07:00
David Garcia Quintas
7c0d914cce
wip for accept-encoding into tests
2015-07-23 04:58:20 -07:00
David Garcia Quintas
607dd2eeb7
Merge branch 'compression-accept-encoding' into compression-interop
2015-07-23 04:39:02 -07:00
yang-g
6f30decf79
Flow control fix
2015-07-22 23:14:43 -07:00
Yang Gao
1451f2e919
Merge pull request #2571 from vjpai/cent6-issues
...
Remove one range-based for and do appropriate static casts on nullptr
2015-07-22 21:30:00 -07:00
Julien Boeuf
fe4c3f4f14
Renaming jwt_credentials to service_account_jwt_access_credentials.
2015-07-22 16:20:13 -07:00
David Garcia Quintas
32ed2fd117
Merge branch 'master' into compression-interop
2015-07-22 09:22:20 -07:00
David Garcia Quintas
c899319fd8
Updated interop tests with support for compression.
...
The support for uncompressable payloads relies on a 512KB file with data from /dev/urandom
2015-07-22 09:10:39 -07:00
yang-g
70a1337045
merge head and resolve conflict
2015-07-22 00:08:06 -07:00
yang-g
8b25f2aaeb
move fake_transport_security_credentials to private API
2015-07-21 23:54:36 -07:00
Abhishek Kumar
b322d4a89e
Merge pull request #2427 from yang-g/per_call_oauth_creds_impl
...
Per call oauth creds impl
2015-07-21 16:55:25 -07:00
David Garcia Quintas
80f3995e47
wip
2015-07-21 16:07:36 -07:00
Vijay Pai
e66165dead
Remove iterator-based test altogether
2015-07-21 21:11:38 +00:00
Vijay Pai
c4af224970
Remove one range-based for and do appropriate static casts on nullptr
2015-07-21 18:44:20 +00:00
David Garcia Quintas
bf49e19c8c
Merge branch 'master' into compression-interop
2015-07-20 23:59:15 -07:00
David Garcia Quintas
9c512bdf98
wip
2015-07-20 23:43:53 -07:00
Craig Tiller
60fb201277
Merge github.com:grpc/grpc into now-i-get-to-show-it-to-EVERYBODY
...
Conflicts:
src/cpp/client/channel_arguments.cc
2015-07-20 21:37:13 -07:00
yang-g
ba5f98081a
Merge remote-tracking branch 'upstream/master' into per_call_oauth_creds_impl
2015-07-20 09:39:51 -07:00
Craig Tiller
bf6abeef3d
Remove experimental prefix
2015-07-19 22:31:04 -07:00
Craig Tiller
b4fdd32100
Merge github.com:grpc/grpc into now-i-get-to-show-it-to-EVERYBODY
...
Conflicts:
src/cpp/client/channel_arguments.cc
2015-07-19 22:26:26 -07:00
Craig Tiller
b4e70366c6
Merge branch 'decompression' of https://github.com/dgquintas/grpc into dgquintas-decompression
...
Conflicts:
Makefile
vsprojects/Grpc.mak
2015-07-19 15:35:17 -07:00
Craig Tiller
0dc5e6cf16
User agent string support
2015-07-18 20:39:34 -07:00
Craig Tiller
8bf2dcab4e
Make tests a little more robust
2015-07-18 20:39:34 -07:00
yang-g
5e7e55b957
Merge with head and resolve conflict
2015-07-17 22:15:12 -07:00
Vijay Pai
f87a0984ab
Merge pull request #2470 from ctiller/i-want-to-wait-free
...
Lock free requested call fulfillment path
2015-07-17 16:05:28 -07:00
Nicolas Noble
e9881bbaf3
Merge pull request #2403 from ctiller/no-worries-i-can-wait
...
Add a clock_type field to gpr_timespec
2015-07-17 15:39:28 -07:00
David Garcia Quintas
cadbf22467
Removed compression levels from clients and _experimental_'d signature of methods manipulating compression algorithms
2015-07-17 15:33:13 -07:00
Craig Tiller
29cb6dd21f
Merge pull request #2482 from vjpai/rename_schedule_callback
...
ThreadPoolInterface::ScheduleCallback --> ThreadPoolInterface::Add
2015-07-17 15:30:33 -07:00
yang-g
463cde7cf9
update according to spec change
2015-07-17 15:21:39 -07:00
Craig Tiller
c9fef6f521
Merge github.com:grpc/grpc into no-worries-i-can-wait
2015-07-17 14:41:12 -07:00
Craig Tiller
af26143b6f
Merge github.com:grpc/grpc into i-want-to-wait-free
2015-07-17 14:36:45 -07:00
Craig Tiller
eec373c555
Merge pull request #2413 from dgquintas/interop_sniffer
...
Introduced InteropContextInspector
2015-07-17 11:30:57 -07:00
Craig Tiller
1eedf268e6
Merge pull request #2385 from yang-g/timeout_interop
...
Add timeout interop test case
2015-07-17 11:30:00 -07:00
Julien Boeuf
ea456fc2bf
Server auth metadata processor.
...
- Right now it is a global function: would be better to have this per
(secure) port.
- Changed the interface of the auth_context slightly to make it more
friendly.
- Positive tests pass. Still need some work on error case (have a
negative case as well).
- Fixing cpp auth context tests so that they use the shiny new C API.
2015-07-16 22:42:02 -07:00
vjpai
72a44178e9
ThreadPoolInterface::ScheduleCallback --> ThreadPoolInterface::Add
2015-07-16 21:44:44 -07:00
yang-g
fb58d239ef
Merge with head
2015-07-16 21:03:49 -07:00
yang-g
7ef7232dd9
split iterator into its own file
2015-07-16 21:00:51 -07:00
David Garcia Quintas
7cceb09b79
Merge branch 'master' of github.com:grpc/grpc into decompression
2015-07-16 17:01:18 -07:00
Craig Tiller
9a3f858f93
Merge pull request #2460 from vjpai/exposed_pool
...
Make thread_pool.h a public header
2015-07-16 16:26:19 -07:00
Craig Tiller
e0981dfa05
Merge github.com:grpc/grpc into i-want-to-wait-free
2015-07-16 08:45:15 -07:00
vjpai
a2e1bb1577
Change name of thread_pool files to fixed_size_thread_pool when
...
appropriate
2015-07-15 16:49:49 -07:00
David Garcia Quintas
6dd49a5c8f
Added some methods to context inspector. Also minor tweak to server context IsCancelled() method
2015-07-15 14:58:32 -07:00
David Garcia Quintas
588a86dc0a
Merge branch 'interop_sniffer' into compression-interop
2015-07-15 14:22:59 -07:00
David Garcia Quintas
f8efe4dad2
Merge branch 'decompression' into compression-interop
...
# Conflicts:
# src/core/channel/compress_filter.c
# src/core/surface/call.c
2015-07-15 14:20:20 -07:00
David Garcia Quintas
e410986635
clang-format'd.
2015-07-15 14:10:48 -07:00
David Garcia Quintas
e0d581b6ad
Merge branch 'master' of github.com:grpc/grpc into decompression
...
# Conflicts:
# Makefile
# include/grpc++/client_context.h
# include/grpc++/server_context.h
# src/cpp/client/client_context.cc
# src/cpp/server/server_context.cc
# vsprojects/Grpc.mak
2015-07-15 14:07:18 -07:00
Craig Tiller
e845d980e5
Merge pull request #2406 from dgquintas/writeoptions
...
Added WriteOptions for per-message flags and modified CallOps to use it.
2015-07-15 13:40:31 -07:00
yang-g
8c31ee2751
update according to spec change
2015-07-15 13:36:27 -07:00
yang-g
14b3684dee
Remove const_iterator typedef and add a range based loop test
2015-07-15 13:20:23 -07:00
Vijay Pai
69f2410086
Make thread_pool.h a public header
...
Rename ThreadPool -> FixedSizeThreadPool to allow for later introduction
of DynamicSizeThreadPool
2015-07-15 12:33:37 -07:00
Craig Tiller
ca83dc8109
Adjust oustanding request count to meet new server algorithm
2015-07-15 11:43:26 -07:00
yang-g
811536efce
auth context iterator
2015-07-15 00:55:30 -07:00
Vijay Pai
181ef45f5e
Addressing outstanding typos and comments
...
Clang-format of changed files
2015-07-14 13:52:48 -07:00
vjpai
df551611d4
Remove reference to nullptr to avoid compiler seeing ambiguity in gcc-4.4
...
build. The issue is that gcc below 4.6 require us to explicitly define nullptr,
and our explicit definition allows a potential confusion between
nullptr->unique_ptr<string> and
nullptr->char *->grpc::string->unique_ptr<string>
2015-07-14 13:38:44 -07:00
yang-g
5bf510bba1
add per_rpc_creds test case in interop test
2015-07-14 10:54:29 -07:00
David Garcia Quintas
3922005878
Introduced InteropContextInspector to be able to peek into server contexts during interop testing.
2015-07-13 16:51:19 -07:00
David Garcia Quintas
8d9f830168
Introduced InteropContextInspector to be able to peek into server contexts during interop testing.
2015-07-13 16:18:19 -07:00
David Garcia Quintas
6a3cf974f7
Added WriteOptions for per-message flags and modified CallOps to use it.
2015-07-13 13:38:18 -07:00
yang-g
be5f059219
Add oauth2_auth_token test case in interop test
2015-07-13 11:11:50 -07:00
Craig Tiller
677c50c92a
Update C++ impl
2015-07-13 10:49:06 -07:00
Craig Tiller
354398f9f5
Updating wrapped languages to new time functions
2015-07-13 09:16:03 -07:00
Vijay Pai
d1c9254029
Merge pull request #2289 from ctiller/footprints-on-the-sands-of-time
...
Introduce multiple clocks to GPR
2015-07-10 16:43:58 -07:00
yang-g
69563b9124
Add timeout interop test case
2015-07-10 15:32:11 -07:00
Craig Tiller
2c3a35e5cf
Make naming a little more consistent
2015-07-10 14:06:00 -07:00
Craig Tiller
080d6c50bb
Merge github.com:grpc/grpc into footprints-on-the-sands-of-time
2015-07-10 10:23:10 -07:00
Craig Tiller
d0955f36dc
Compile fix for Mac
2015-07-10 07:52:37 -07:00
David Garcia Quintas
14ce90ff82
Merge branch 'master' of github.com:grpc/grpc into decompression
2015-07-09 16:18:14 -07:00
yang-g
3315a845ef
Merge remote-tracking branch 'upstream/master' into security_context2
2015-07-09 12:32:48 -07:00
yang-g
f9e8e59b1c
Resolve comments
2015-07-09 12:32:15 -07:00
Craig Tiller
5cc175f08e
Merge github.com:grpc/grpc into footprints-on-the-sands-of-time
2015-07-09 08:48:35 -07:00
David Garcia Quintas
17bb64981a
Merge branch 'master' of github.com:grpc/grpc into decompression
2015-07-08 15:17:10 -07:00
yang-g
85c04f938f
resolve comments
2015-07-07 17:47:31 -07:00
Craig Tiller
822d2c7beb
Support registering services against specific hosts
2015-07-07 16:08:00 -07:00
Craig Tiller
547fed4e8b
Merge github.com:grpc/grpc into footprints-on-the-sands-of-time
...
Conflicts:
src/core/channel/client_setup.c
src/core/surface/init.c
2015-07-07 13:52:53 -07:00
yang-g
c4eef2eae8
add a test case in end2end_test
2015-07-06 23:26:58 -07:00
yang-g
8068f86974
Add a unit test
2015-07-06 15:05:48 -07:00
Yang Gao
d426864934
Merge pull request #2279 from vjpai/openleaks
...
qps_test memory leak elimination: delete spare contexts lying around at the end of test
2015-07-06 13:34:25 -07:00
Craig Tiller
a368bd26d1
Merge github.com:grpc/grpc into footprints-on-the-sands-of-time
2015-07-06 11:04:14 -07:00
Craig Tiller
20b5fe9282
Fixup C++
2015-07-06 10:43:50 -07:00
Vijay Pai
775eaec770
Merge pull request #2151 from sidrakesh93/master
...
Changes required for reporting metrics to performance database server
2015-07-06 10:13:59 -07:00
Craig Tiller
27df2cf69c
Pluck some low hanging concurrency fruit
...
Make the shutdown flag on servers be per thread to save contention on
the lock that must guard it.
2015-07-01 15:11:29 -07:00
David Garcia Quintas
8a187099ec
Merge branch 'master' of github.com:grpc/grpc into decompression
...
# Conflicts:
# Makefile
# gRPC.podspec
# src/core/surface/call.c
# src/core/transport/chttp2/frame_data.c
# tools/doxygen/Doxyfile.core.internal
# vsprojects/Grpc.mak
2015-07-01 14:52:44 -07:00
Vijay Pai
13735d5d7e
if->while
2015-07-01 14:00:08 -07:00
Vijay Pai
5606199585
Delete spare contexts lying around at the end of the test to avoid
...
showing up as memory leaks
Also reduce the rate of the openloop test - this may be an issue with
sanitizers particularly because of issue #2278
2015-07-01 13:39:48 -07:00
Vijay Pai
e2980cd0b3
Eliminate data-race caused by specialization in vector<bool>
2015-07-01 09:38:20 -07:00
David Garcia Quintas
d7d9ce27c5
WIP in *_end2end_test.cc. Tests pass. Fixed leaks and introduced concept of compression request thru MD
2015-06-30 23:29:03 -07:00
Siddharth Rakesh
a90c81ea61
Removing this pointers
2015-06-30 20:29:35 -07:00