yang-g
201ef59847
more changes
2015-09-02 15:55:10 -07:00
yang-g
867d0c132c
Fix auth tests
2015-09-02 14:33:15 -07:00
Craig Tiller
93ddc61c10
Fix compilation
2015-09-02 07:57:48 -07:00
Nicolas "Pixel" Noble
7fa51677bc
Removing pessimizing moves.
...
These have been reported by a (very recent) build of clang and its new -Wpessimizing-move option.
2015-09-02 02:29:16 +02:00
Craig Tiller
1fdb05b498
Merge github.com:grpc/grpc into daisy-dukes
...
Conflicts:
build.json
vsprojects/Grpc.mak
2015-09-01 17:13:30 -07:00
vjpai
d514b21cc8
Put timeout on server shutdown
2015-08-31 16:27:35 -07:00
Craig Tiller
1ebb7c885e
Hand-written changes
2015-08-31 15:53:36 -07:00
Craig Tiller
a4517a2020
Remove C++11isms
2015-08-31 07:29:12 -07:00
Craig Tiller
61575651ab
Merge github.com:grpc/grpc into daisy-dukes
2015-08-31 07:11:54 -07:00
Julien Boeuf
0d47192afa
Fixing headers and paths after merge with upstream.
2015-08-30 22:18:50 -07:00
Julien Boeuf
821de3439f
Addressing comments.
2015-08-28 16:31:20 -07:00
Julien Boeuf
5be92a316d
Shuffling headers around.
2015-08-28 16:28:18 -07:00
Julien Boeuf
97cd4ae606
Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor
2015-08-28 15:51:02 -07:00
Julien Boeuf
6c7185d350
Merge branch 'master' of github.com:grpc/grpc into credentials_naming_and_cleanup
2015-08-28 14:33:17 -07:00
Julien Boeuf
68ff03a952
Fixing AuthContext tests.
2015-08-28 14:21:24 -07:00
Julien Boeuf
a883ccfb46
Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor
2015-08-28 14:13:04 -07:00
Julien Boeuf
0c711ad88b
Adding C++ metadata processor.
...
- Had to chnage the core API to add a destroy function pointer in
grpc_auth_metadata_processor.
- Tested end to end.
- Fixed some issues in the server_auth_filter (we were not checking the
length which put us at risk of an overflow).
2015-08-28 14:10:58 -07:00
Craig Tiller
89d56103eb
Merge pull request #3104 from yang-g/create_channel
...
Create channel API change
2015-08-27 21:04:56 -07:00
Julien Boeuf
421738b529
Addressing comments, round 2.
2015-08-27 16:34:44 -07:00
Julien Boeuf
459faf3821
Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor
2015-08-27 16:07:46 -07:00
Julien Boeuf
fe4bacb641
Merge branch 'credentials_naming_and_cleanup' of github.com:jboeuf/grpc into credentials_naming_and_cleanup
2015-08-27 15:49:27 -07:00
Julien Boeuf
4eaeb992d3
Addressing comments.
2015-08-27 15:41:52 -07:00
yang-g
730055d962
implementation fix
2015-08-27 12:29:45 -07:00
Craig Tiller
958ee76018
IWYU
2015-08-27 08:09:50 -07:00
Craig Tiller
70a816807f
Friends dont let friends use volatile for synchronization
2015-08-27 07:46:20 -07:00
yang-g
0d9f81f741
minor fixes
2015-08-26 22:04:30 -07:00
Rakesh Iyer
4abe76eff5
Repro case for flow control bug.
...
This is a repro case for a bug where if the client is sending
full throttle and the receiver is not able to keep up, the
client reaches a case where it doesn't make forward progress
anymore.
Signed-off-by: Craig Tiller <craig.tiller@gmail.com>
2015-08-26 16:38:36 -07:00
Julien Boeuf
5b3516e2c5
Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor
2015-08-26 11:19:10 -07:00
yang-g
5e700f3d1f
Merge remote-tracking branch 'upstream/master' into string_ref_auth
2015-08-26 10:16:31 -07:00
Craig Tiller
afbbaf9c3e
Merge pull request #3065 from yang-g/string_ref
...
Use string_ref for incoming metadata
2015-08-26 08:22:42 -07:00
David G. Quintas
52730d3bea
Merge pull request #3035 from ctiller/naming-crisis
...
Refactor default host name resolution
2015-08-25 22:32:03 -07:00
Julien Boeuf
510a920c75
Credentials cleanup:
...
- Removing service_accounts credentials. These credentials just have
drawbacks compared to service_account_jwt_access credentials, notably
in terms for security.
- Renaming Google specific credentials with a Google prefix for C and
C++. This should be done as well for wrapped languages.
2015-08-25 21:51:07 -07:00
yang-g
d090fe1379
auth context api change for string_ref
2015-08-25 16:53:07 -07:00
David Garcia Quintas
04ecfa1ad7
Added missing payloads to streaming compressed test
2015-08-25 14:19:48 -07:00
Craig Tiller
9dee67b5cf
Merge github.com:grpc/grpc into naming-crisis
2015-08-25 14:05:30 -07:00
yang-g
e21908fcee
impl
2015-08-25 13:47:51 -07:00
vjpai
2098863a90
Make certain constants unsigned to please compiler on Mac
2015-08-25 09:08:47 -07:00
Julien Boeuf
bf9a8f8d7c
Fixing tests.
2015-08-25 07:45:35 -07:00
Craig Tiller
dc31ef38d2
Loosen test requirements to better fit spec
2015-08-25 07:11:35 -07:00
Julien Boeuf
0382bfae38
Merge branch 'master' of github.com:grpc/grpc into cpp_string_ref
2015-08-24 23:55:43 -07:00
Julien Boeuf
8fd915ab8d
Adding grpc::string_ref class.
...
- Strict subset of
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3442.html
- Useful to avoid unnecessary string copies.
2015-08-24 23:41:54 -07:00
yang-g
3e4bd9598b
merge with head
2015-08-24 15:54:07 -07:00
Vijay Pai
0660eaca00
Merge branch 'master' into fray
2015-08-24 14:33:39 -07:00
Vijay Pai
e8a7e30a75
Eliminate public thread-pool interface
2015-08-24 10:52:33 -07:00
Craig Tiller
b7e22b9686
Merge github.com:grpc/grpc into y12kdm3
2015-08-21 16:06:30 -07:00
yang-g
9e2f90cd06
headers reorg
2015-08-21 15:35:03 -07:00
yang-g
d392fa04c5
fix shutdown_test
2015-08-20 13:55:29 -07:00
yang-g
961eeb0b44
Merge remote-tracking branch 'upstream/master' into docs
2015-08-20 12:18:28 -07:00
Yang Gao
48c9f250c2
Merge pull request #2977 from ctiller/shutdown-c++
...
Add a deadline to Server::Shutdown
2015-08-19 21:49:10 -07:00
yang-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
2015-08-19 16:28:09 -07:00
David Garcia Quintas
5fd685556f
Moved methods' impl to header for simplicity
2015-08-19 15:59:38 -07:00
Craig Tiller
65d3ab2add
Merge github.com:grpc/grpc into y12kdm3
2015-08-19 12:53:11 -07:00
Vijay Pai
6d8d0144c8
Merge pull request #2975 from dgquintas/no_foreach_44
...
removed foreach loops for gcc 4.4
2015-08-19 09:30:23 -07:00
Craig Tiller
4d90b21b92
Merge github.com:grpc/grpc into y12kdm3
2015-08-19 08:00:45 -07:00
David Garcia Quintas
81491b6043
Removed function introducing dependency on proto in .h
2015-08-18 16:46:53 -07:00
Craig Tiller
128f4a9cfe
Merge github.com:grpc/grpc into y12kdm3
2015-08-18 12:51:05 -07:00
Craig Tiller
5c6e6276be
Merge github.com:grpc/grpc into shutdown-c++
2015-08-18 12:45:09 -07:00
Craig Tiller
e50e5cbde2
Add a timeout to shutdown to forcefully end calls
2015-08-18 12:44:57 -07:00
David Garcia Quintas
2a6427ffdb
removed foreach loops for gcc 4.4
2015-08-18 11:12:55 -07:00
Craig Tiller
d6c98df792
clang-format all source
2015-08-18 09:33:44 -07:00
Craig Tiller
bb1c795f99
Merge pull request #2965 from yang-g/lame_client_error_message
...
Let lame_client accept error status
2015-08-18 09:27:28 -07:00
David Garcia Quintas
935c171ee8
Merge branch 'master' of github.com:grpc/grpc into compression-interop
2015-08-17 18:28:00 -07:00
yang-g
c31cd86a74
Let lame_client accept error status
2015-08-17 15:37:27 -07:00
Craig Tiller
8f7bff7d48
Merge github.com:grpc/grpc into y12kdm3
2015-08-17 13:23:14 -07:00
David G. Quintas
bd0d1bd5d9
Merge pull request #2549 from hongweiwang/zookeeper
...
Zookeeper name resolver
2015-08-14 10:06:03 -07:00
Julien Boeuf
455dc6ff0d
Merge branch 'master' of https://github.com/grpc/grpc into cpp_auth_md_processor
2015-08-13 22:25:15 -07:00
Julien Boeuf
c2274e7069
Adding C++ auth metadata processor.
...
- We always do the processing asynchronously but maintain a synchronous
API for the implementor of the processor.
- there are a lot of string copies right now. Having a StringPiece
object in grpc++ would really help with that (as we would use it for
C++ metadata).
- Please review the API carefully and if you're happy with it, I'll
proceed with tests.
2015-08-13 17:25:52 -07:00
Hongwei Wang
c3f48c80d4
Minor fix on comments
2015-08-13 17:22:58 -07:00
Hongwei Wang
85ad685e57
Address comments and update grpc plugins
2015-08-13 16:13:10 -07:00
Vijay Pai
8c0389d84e
Merge pull request #2921 from yang-g/unknown_service
...
Use a sync service to handle requests to unknown services
2015-08-13 15:30:01 -07:00
David Garcia Quintas
864d18650e
proto3 required changes
2015-08-13 15:26:00 -07:00
David Garcia Quintas
80dc66d8ab
Merge branch 'master' of github.com:grpc/grpc into compression-interop
2015-08-13 15:01:03 -07:00
Vijay Pai
ed48bf8f71
Merge pull request #2922 from yang-g/proto3_cpp
...
use proto3 syntax in c++ test protos
2015-08-13 14:27:00 -07:00
yang-g
f6befe8690
update the interop test protos and code to proto3
2015-08-13 13:51:53 -07:00
David Garcia Quintas
74f4f0bb4b
Merge branch 'master' of github.com:grpc/grpc into compression-interop
2015-08-13 13:20:31 -07:00
yang-g
e9e69a80d4
use proto3 syntax in c++ test protos
2015-08-13 11:56:20 -07:00
David Garcia Quintas
93dfab9c6e
Make sure COMPRESSABLE is the default for LargeUnary
2015-08-13 11:29:50 -07:00
yang-g
9b7757dd35
Use a sync service to handle requests to unknown services
2015-08-13 11:15:53 -07:00
David Garcia Quintas
ba86dc0cbe
Removed spurious line that forced COMPRESSABLE for large unaries
2015-08-13 10:01:12 -07:00
Hongwei Wang
ff6097ac49
Fix zookeeper resolver plugin bugs
2015-08-12 17:48:56 -07:00
David G. Quintas
46e786ba60
Merge pull request #2771 from vjpai/asklipion2
...
Remove C++11 dependencies in QPS test that break old compilers
2015-08-12 16:56:31 -07:00
Craig Tiller
d067c263b2
Merge github.com:grpc/grpc into y12kdm3
...
Conflicts:
src/core/security/google_default_credentials.c
test/core/security/verify_jwt.c
2015-08-12 12:00:36 -07:00
Hongwei Wang
31efd2adad
Debugging
2015-08-12 11:42:58 -07:00
Hongwei Wang
eeb61ba355
Minor fix for debugging
2015-08-12 11:27:28 -07:00
Vijay Pai
3ae11042fd
clang-format
2015-08-11 22:43:14 -07:00
vjpai
b1db869e1a
Address concerns from review
2015-08-11 22:41:02 -07:00
David G. Quintas
086a982744
Removed "<:" bigram confusing gcc 4.4
...
Resulted in error:
```test/cpp/end2end/end2end_test.cc:120: error: ‘<::’ cannot begin a template-argument list
test/cpp/end2end/end2end_test.cc:120: note: ‘<:’ is an alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’
test/cpp/end2end/end2end_test.cc:120: note: (if you use ‘-fpermissive’ G++ will accept your code)
make: *** [objs/opt/test/cpp/end2end/end2end_test.o] Error 1```
2015-08-11 18:56:10 -07:00
David Garcia Quintas
616b375e35
Merged PerformLargeCompressedUnary into PerformLargeUnary
2015-08-11 15:21:02 -07:00
Hongwei Wang
d7c5aa856b
Formatting zookeeper_test
2015-08-10 20:30:39 -07:00
Hongwei Wang
b0453fba84
Update zookeeper test to have two servers
2015-08-10 17:04:36 -07:00
David Garcia Quintas
2e1bb1bf4d
Reverted unnecessary changes to server
2015-08-10 14:22:35 -07:00
David Garcia Quintas
cd37d5852b
Added new tests for compression
2015-08-09 16:16:53 -07:00
David Garcia Quintas
49a5130318
Merge branch 'compression-accept-encoding' into compression-interop
2015-08-09 09:21:01 -07:00
Hongwei Wang
68d205d85b
Minor fix on zookeeper test
2015-08-07 19:19:02 -07:00
Hongwei Wang
6bbcd0493e
test
2015-08-07 19:09:36 -07:00
Hongwei Wang
ad5c897a94
Merge branch 'master' of https://github.com/grpc/grpc into zookeeper
2015-08-07 17:17:22 -07:00
Hongwei Wang
497d26a83d
Update zookeeper in jenkins docker file
2015-08-07 16:39:24 -07:00
Hongwei Wang
2ad07d7523
Formatting
2015-08-07 11:30:36 -07:00
Hongwei Wang
6d445965cc
Zookeeper test server address as environment variable
2015-08-07 10:53:22 -07:00
Vijay Pai
ad3e00c220
Stop using a variable-sized array since that's not standards-compliant
2015-08-07 17:21:08 +00:00
Craig Tiller
37f24de603
Merge pull request #2777 from jboeuf/server_creds_auth_md_processor
...
Server creds auth md processor
2015-08-07 10:17:03 -07:00
yang-g
cec757f22a
Fix build
2015-08-06 22:53:58 -07:00
yang-g
87e133e13a
merge with head
2015-08-06 22:51:27 -07:00
yang-g
c8abca8f53
Resolve comments
2015-08-06 22:50:16 -07:00
Julien Boeuf
f3128e6ef3
Merge branch 'master' of https://github.com/grpc/grpc into server_creds_auth_md_processor
2015-08-06 15:29:45 -07:00
Craig Tiller
a3a7e5c0b2
Merge github.com:grpc/grpc into y12kdm3
2015-08-06 13:19:33 -07:00
Hongwei Wang
a83d1b324a
Merge branch 'master' of https://github.com/grpc/grpc into zookeeper
2015-08-06 12:52:18 -07:00
Craig Tiller
4c06b820e0
Add a test of non-blocking API behavior
...
... also fix things that were broken :)
2015-08-06 08:41:31 -07:00
Craig Tiller
69f90e6382
Working towards a non-blocking API test
2015-08-06 08:32:35 -07:00
Julien Boeuf
54b5018dd8
Fixing cpp tests.
2015-08-05 21:40:49 -07:00
Julien Boeuf
d3368e4192
Merge branch 'master' of github.com:grpc/grpc into server_creds_auth_md_processor
2015-08-05 21:29:42 -07:00
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
Siddharth Rakesh
fd1a20a667
Changes introduced for passing hashed user id instead of access token
2015-06-30 16:38:32 -07:00
Siddharth Rakesh
872e8187c2
Adding required changes
2015-06-29 13:06:25 -07:00
Siddharth Rakesh
268e59063a
Adding required changes
2015-06-29 12:20:43 -07:00
Vijay Pai
d4bfa95d3c
Merge pull request #2169 from ctiller/no-spam-for-you
...
Remove spammy line (this is obfuscating testing logs)
2015-06-29 10:26:48 -07:00
Craig Tiller
40238fd032
Merge pull request #2221 from yang-g/no_new_bbq_after_flush
...
Bug fix. Do not push to incoming_queue after it is flushed.
2015-06-26 10:47:13 -07:00
yang-g
0b6ad7d4bc
Bug fix. Do not push to incoming_queue after it is flushed.
2015-06-25 14:39:01 -07:00
Craig Tiller
f75fc12e3a
Add a test that headers are properly in build.json
...
Clean up anything that failed
2015-06-25 06:58:00 -07:00
Siddharth Rakesh
7b34d3afa7
Merge branch 'master' of https://github.com/sidrakesh93/grpc
2015-06-23 16:35:18 -07:00
Siddharth Rakesh
df77c580dc
Added support for passing a tag with the test
2015-06-23 16:34:18 -07:00
Siddharth Rakesh
500007ab68
Merge branch 'master' of https://github.com/grpc/grpc
2015-06-23 11:22:46 -07:00
Yang Gao
253aaa6b10
Merge pull request #1969 from ctiller/one-shouldnt-depend-on-protobufs
...
Remove Protobuf dependency for C++
2015-06-23 10:05:20 -07:00
Craig Tiller
aa555df7ee
Merge pull request #2175 from yang-g/constness
...
Add const to ByteBuffer methods and add tests
2015-06-23 07:54:19 -07:00
yang-g
b1bbc8764d
proper init const char *
2015-06-22 23:30:00 -07:00
Yang Gao
89c5a56233
Add const to ByteBuffer methods and add tests
2015-06-22 16:31:11 -07:00
Nicolas Noble
3e5964f8fb
Merge pull request #2164 from ctiller/all-my-little-snowflakes
...
Fix flaky test
2015-06-22 15:17:28 -07:00
Craig Tiller
0960875b06
Remove spammy line (this is obfuscating testing logs)
2015-06-22 14:32:31 -07:00
sidrakesh93
ca241639c6
Update perf_db_client.cc
2015-06-22 14:26:41 -07:00
Yang Gao
04b0383d23
Merge pull request #2160 from ctiller/no-point-for-an-object-here
...
Use a character literal instead of grpc::string
2015-06-22 13:52:32 -07:00
Craig Tiller
8cca4694ee
Fix flaky test
...
Assertation could be false if the server responds quickly enough (it's
unlikely to). Removing the assert does not change the nature of the
test.
2015-06-22 13:50:59 -07:00
Siddharth Rakesh
a4de070c69
Further corrections to syntax
2015-06-22 13:05:26 -07:00
Siddharth Rakesh
60111c0df8
updated syntax based errors
2015-06-22 13:02:33 -07:00
Craig Tiller
aeedff1ef8
Use a character literal instead of grpc::string
2015-06-22 12:31:53 -07:00
Siddharth Rakesh
4364546668
Applied required modifications
2015-06-22 12:21:57 -07:00
Siddharth Rakesh
f39e7c0a0f
Merge branch 'master' of https://github.com/grpc/grpc
2015-06-22 11:36:30 -07:00
Siddharth Rakesh
373ad4d0d0
edited report
2015-06-22 11:36:17 -07:00
Craig Tiller
3de4b47e2b
Merge github.com:grpc/grpc into one-shouldnt-depend-on-protobufs
2015-06-22 10:51:35 -07:00
Vijay Pai
40c9481e4a
Merge pull request #2136 from dgquintas/unconst-reporter
...
Removed const-ness from Reporter interface methods
2015-06-22 09:08:05 -07:00
Siddharth Rakesh
c3cd4780df
minor commented code removal
2015-06-19 17:05:19 -07:00
Siddharth Rakesh
64967d4fac
removed dependency on python_gflags, using argparse instead
2015-06-19 16:58:26 -07:00
Craig Tiller
ab67485ff0
Merge github.com:grpc/grpc into one-shouldnt-depend-on-protobufs
2015-06-19 15:32:52 -07:00
Siddharth Rakesh
31014d26aa
flags handled using python_gflags
2015-06-19 15:24:19 -07:00
Siddharth Rakesh
12c65b1a7e
slightly updated tool script
2015-06-19 11:16:12 -07:00
David Garcia Quintas
96e12defaf
Removed const-ness from Reporter interface methods
2015-06-18 23:14:47 -07:00
Siddharth Rakesh
cc5857b624
Fixed hanging client declaration, server address can be passed now
2015-06-18 16:45:55 -07:00
Siddharth Rakesh
a31c9d27e0
Merge branch 'we-dont-need-no-backup' of git://github.com/ctiller/grpc
2015-06-18 15:59:55 -07:00
sidrakesh93
e74a458813
Update report.cc
2015-06-18 11:22:06 -07:00
Siddharth Rakesh
bfa67ddbd4
changed access tokens folder position
2015-06-18 10:37:41 -07:00
Siddharth Rakesh
929191b4be
edited test script
2015-06-18 09:13:53 -07:00
Siddharth Rakesh
e2902dee31
commented
2015-06-17 15:01:43 -07:00
Siddharth Rakesh
893ccac421
Merge branch 'master' of https://github.com/grpc/grpc
2015-06-17 15:01:07 -07:00
Craig Tiller
dd39fbd413
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-06-17 12:36:40 -07:00
Craig Tiller
bf8ac3f406
Merge branch 'you-complete-me' into we-dont-need-no-backup
2015-06-17 09:15:48 -07:00
Yang Gao
45bd28e0d3
One more thing...
2015-06-16 22:07:58 -07:00
Craig Tiller
2622ddbcfd
Merge branch 'we-dont-need-no-backup' into one-shouldnt-depend-on-protobufs
...
Conflicts:
include/grpc++/async_unary_call.h
include/grpc++/config.h
include/grpc++/config_protobuf.h
include/grpc++/impl/service_type.h
include/grpc++/stream.h
src/cpp/common/call.cc
2015-06-16 17:30:26 -07:00
Craig Tiller
ddd389a149
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-06-16 17:14:43 -07:00
Yang Gao
763afe1fd6
merge with upstream
2015-06-16 13:19:07 -07:00
Yang Gao
c1a2c314fb
Update the Status API
2015-06-16 10:59:46 -07:00
Yang Gao
102eccb632
Support sending and showing received metadata in grpc_cli
2015-06-16 00:43:25 -07:00
Siddharth Rakesh
08e8bab4b8
removed data script
2015-06-15 17:04:09 -07:00
Siddharth Rakesh
d0010ae439
added comments
2015-06-15 17:02:51 -07:00
Siddharth Rakesh
7b55362e0f
updated auth script
2015-06-11 20:59:14 -07:00
Craig Tiller
aea081ffb5
Flush pending incoming messages when writing status
...
As a bonus, correctly report was_cancelled when the server writes error
2015-06-11 14:19:33 -07:00
Siddharth Rakesh
b2b5b9a069
removed data adding script
2015-06-10 15:12:34 -07:00
Siddharth Rakesh
f4dafb5654
updated configs sending
2015-06-10 15:10:35 -07:00
Siddharth Rakesh
80b23e461d
erge branch 'master' of https://github.com/grpc/grpc
2015-06-10 15:09:38 -07:00
Craig Tiller
a603a450a9
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-06-10 10:12:02 -07:00
Craig Tiller
51f938f169
Make async server use one CQ per server thread
2015-06-09 23:34:01 -07:00
Craig Tiller
4671122995
Merge branch 'you-complete-me' into we-dont-need-no-backup
2015-06-09 22:59:31 -07:00
Yang Gao
b6d57e704b
add missed explicit
2015-06-09 22:11:12 -07:00
David G. Quintas
cb7bcb1983
Merge pull request #1958 from vjpai/qps-proto3
...
Update QPS test to proto3
2015-06-09 13:41:42 -07:00
vjpai
e78ee18db5
Renumber message fields
2015-06-09 01:37:46 -07:00
Craig Tiller
febf3b0803
Merge pull request #1984 from grpc/revert-1980-revert-1948-poisson
...
Revert "Revert "Open loop sync/async multithreaded testing""
2015-06-08 19:47:15 -07:00
Siddharth Rakesh
0acc25ad15
removed shell script
2015-06-08 15:53:55 -07:00
Siddharth Rakesh
9865e0d8a3
Merge branch 'master' of https://github.com/grpc/grpc into leaderboard
2015-06-08 15:44:23 -07:00
Siddharth Rakesh
ef3ca1b3bf
stable
2015-06-08 14:55:24 -07:00
vjpai
2490d9dc91
Handle all cases properly
2015-06-08 14:44:03 -07:00
vjpai
37253d967b
Merge remote-tracking branch 'upstream/revert-1980-revert-1948-poisson' into qps-proto3
...
Conflicts:
test/cpp/qps/qps_test_openloop.cc
2015-06-08 14:41:24 -07:00
Vijay Pai
93b0f63043
Merge pull request #1979 from ctiller/cereal-is-bad-for-your-health
...
Dont serialize new call requests under the server test lock
2015-06-08 13:59:24 -07:00
Siddharth Rakesh
199ad685fd
Merge branch 'master' of https://github.com/grpc/grpc into leaderboard
2015-06-08 13:45:44 -07:00
Siddharth Rakesh
39824335ea
Newer version
2015-06-08 13:44:51 -07:00
Vijay Pai
d9c7e7e373
Stop worrying about 1 second deadline as a fatal problem
...
Also fix reporter
2015-06-08 13:44:25 -07:00
Vijay Pai
372fd8791b
Revert "Revert "Open loop sync/async multithreaded testing""
2015-06-08 13:30:08 -07:00
David Garcia Quintas
bb7370fc68
Missing required changes from pull req. #1964
2015-06-08 13:16:03 -07:00
Craig Tiller
cfef24bb56
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-06-08 10:34:15 -07:00
Craig Tiller
52d646eddd
Merge github.com:grpc/grpc into cereal-is-bad-for-your-health
2015-06-08 10:32:00 -07:00
Craig Tiller
d55636d813
Revert "Open loop sync/async multithreaded testing"
2015-06-08 10:12:46 -07:00
Craig Tiller
250e96d941
Dont serialize new call requests under the server test lock
2015-06-08 09:51:43 -07:00
Craig Tiller
571af49aaf
Merge branch 'who-broke-the-build' into we-dont-need-no-backup
2015-06-08 08:46:55 -07:00
Craig Tiller
18c6d9c227
Fix build breakage
2015-06-08 08:43:48 -07:00
Craig Tiller
1207ef5f52
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-06-08 08:40:32 -07:00
Craig Tiller
ba9df85f7e
Merge pull request #1948 from vjpai/poisson
...
Open loop sync/async multithreaded testing
2015-06-08 07:36:56 -07:00
vjpai
fb61373066
Add a new test for qps openloop to make sure this code gets exercised
...
regularly.
Also, convert qps_test to test, from benchmark
2015-06-08 01:01:03 -07:00
vjpai
aa4548ddf0
Add a new test for qps openloop to make sure this code gets exercised
...
regularly.
Also, convert qps_test to test, from benchmark
2015-06-08 00:54:03 -07:00
David Garcia Quintas
c695066fec
Removed redundant parameter from Reporter interface.
2015-06-05 16:56:42 -07:00
vjpai
191b67437b
Address reviewer comment by not having non-const reference
2015-06-05 14:18:42 -07:00
vjpai
804afe6aac
Update QPS test to proto3 syntax
2015-06-05 14:06:09 -07:00
Vijay Pai
36403af71e
Address review comments for code clarity
2015-06-05 11:19:03 -07:00
Vijay Pai
92b7f872fd
Add comments describing various random distributions
...
Also remove the parameterized constructor for InterarrivalTimer
and only keep the init function.
2015-06-05 11:09:16 -07:00
Craig Tiller
2c42ef3eb3
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-06-05 07:09:56 -07:00
Vijay Pai
fcedc15082
Use typedef rather than using to make Travis happy
2015-06-05 03:47:11 -07:00
Vijay Pai
cf3fb092cc
clang-format
2015-06-05 03:41:30 -07:00
Vijay Pai
c7de81e57e
Better management of channel attempts and channel coverage
2015-06-05 03:32:03 -07:00
Vijay Pai
db398e0609
Omit redundant record-keeping
2015-06-05 02:49:51 -07:00
Vijay Pai
06c995137b
Take some code out from under a lock_guard and try to
...
maintain affinity of next_channel whenever possible
2015-06-05 02:32:39 -07:00
Vijay Pai
7b172b2411
Get the code to stop crashing by fixing bugs
2015-06-05 02:03:18 -07:00
Siddharth Rakesh
922ea81877
QPS, latencies recorded with authentication
2015-06-04 17:32:31 -07:00
Craig Tiller
789471cfc6
Client side compiles/links
2015-06-04 16:19:22 -07:00
vjpai
dc0615fa87
Init a variable
2015-06-04 10:54:24 -07:00
vjpai
d1dce90c9a
Minor fixes
2015-06-04 10:48:43 -07:00
vjpai
ca61f5b765
Merge branch 'master' into poisson
2015-06-04 09:51:28 -07:00
Craig Tiller
409263c59f
Merge github.com:grpc/grpc into we-dont-need-no-backup
...
Conflicts:
tools/doxygen/Doxyfile.core.internal
2015-06-04 08:44:53 -07:00
Vijay Pai
8eedd4a2c6
Context activation for async
2015-06-03 15:39:35 -07:00
Masood Malekghassemi
701af6031f
Expose gpr_asprintf and gpr_strdup
2015-06-03 15:24:24 -07:00
Vijay Pai
9dc5c15b56
Account for time difference in mac and linux
2015-06-03 11:34:53 -07:00
Vijay Pai
8559485c23
Bug fix
2015-06-03 11:01:25 -07:00
vjpai
7abc4e720c
Invoke LoadTest setup
2015-06-03 10:33:41 -07:00
vjpai
afc3ee89ee
Merge branch 'master' into poisson
2015-06-03 10:13:48 -07:00
Craig Tiller
8cc6f42287
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-06-02 16:28:36 -07:00
vjpai
3beb20c3e2
Support use of high_res clock in timepoints
2015-06-02 13:58:44 -07:00
David Garcia Quintas
c9516d4e28
Fixed memory leak in server_async
2015-06-02 13:41:48 -07:00
vjpai
924d459c27
Fix timer issues
2015-06-02 10:26:52 -07:00
Craig Tiller
14556ecf8c
Merge branch 'count-the-things' into we-dont-need-no-backup
...
Conflicts:
Makefile
src/core/iomgr/pollset_posix.c
src/core/surface/call.c
src/core/surface/channel.c
src/core/surface/server.c
src/python/src/grpc/_adapter/_low_test.py
tools/doxygen/Doxyfile.core.internal
2015-06-01 20:31:27 -07:00
Yang Gao
69fe0759be
Various minor fixes
2015-06-01 14:32:38 -07:00
Craig Tiller
f54f2d0586
Make test more robust
2015-05-29 12:31:05 -07:00
Craig Tiller
0f29c4d375
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-05-28 10:56:53 -07:00
vjpai
675140ca1d
Merge branch 'master' into poisson
...
Conflicts:
Makefile
test/cpp/qps/client_async.cc
test/cpp/qps/qpstest.proto
2015-05-28 10:09:32 -07:00
Craig Tiller
5d8310e104
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-05-27 16:28:34 -07:00
David Garcia Quintas
7947f9caa7
Merge branch 'master' of github.com:grpc/grpc into qps_reporter_refactoring
2015-05-27 13:29:44 -07:00
Yang Gao
a9b5de8131
Add a check against potential failure to bring up client binary
2015-05-26 23:35:21 -07:00
Craig Tiller
a22bd9c17e
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-05-26 16:40:35 -07:00
David Garcia Quintas
c5902879d8
Merge branch 'master' of github.com:grpc/grpc into qps_reporter_refactoring
2015-05-26 15:31:01 -07:00
Xudong Ma
a5861f3414
Correct the test request/response size, to be consistent with the test spec: https://github.com/grpc/grpc/blob/master/doc/interop-test-descriptions.md
2015-05-26 15:24:11 -07:00
Craig Tiller
8b5276c02e
Merge github.com:grpc/grpc into we-dont-need-no-backup
...
Conflicts:
src/core/surface/call.c
test/core/end2end/dualstack_socket_test.c
test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c
test/core/end2end/tests/early_server_shutdown_finishes_tags.c
test/core/end2end/tests/graceful_server_shutdown.c
test/core/end2end/tests/invoke_large_request.c
test/core/end2end/tests/max_concurrent_streams.c
test/core/end2end/tests/max_message_length.c
test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c
test/core/end2end/tests/request_response_with_metadata_and_payload.c
test/core/end2end/tests/request_response_with_payload.c
test/core/end2end/tests/request_response_with_payload_and_call_creds.c
test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c
test/core/end2end/tests/request_with_large_metadata.c
test/core/end2end/tests/request_with_payload.c
test/core/httpcli/httpcli_test.c
tools/run_tests/run_tests.py
2015-05-24 15:58:14 -07:00
Nicolas Noble
5fa2eab4f4
Merge pull request #1706 from ctiller/streaming-crash-boom-bang
...
Fix shutdown crash in async streaming test
2015-05-22 13:50:20 -07:00
David Garcia Quintas
f01ccb7ba3
Merge branch 'master' of github.com:grpc/grpc into qps_reporter_refactoring
2015-05-22 10:39:02 -07:00
David Garcia Quintas
1d780fd3df
Fixed typo
2015-05-22 10:37:27 -07:00
Vijay Pai
a4c44c2bcf
Merge pull request #1703 from ctiller/fugly
...
clang-format qps code - it was getting out of hand
2015-05-22 08:19:28 -07:00
Yang Gao
fdc9af8dca
Merge pull request #1625 from ctiller/mmm-mmm-mmm-mmm
...
Add a test of crashing servers and clients
2015-05-21 23:40:51 -07:00
Vijay Pai
bfc01822b1
Merge pull request #1693 from dgquintas/fix_sleep_for
...
Replaced std::this_thread::sleep_for for gpr_sleep_until.
2015-05-21 23:10:29 -07:00
David Garcia Quintas
f526bd487a
Merge branch 'master' of github.com:grpc/grpc into qps_reporter_refactoring
2015-05-21 16:49:38 -07:00
Craig Tiller
da0b312c7f
Merge github.com:grpc/grpc into mmm-mmm-mmm-mmm
2015-05-21 16:48:18 -07:00
Craig Tiller
d4db33dcab
Add missing copyright notices
2015-05-21 15:27:23 -07:00
Craig Tiller
3d49461845
Merge github.com:grpc/grpc into mmm-mmm-mmm-mmm
2015-05-21 14:24:13 -07:00
Craig Tiller
8ebcec484f
clang-format
2015-05-21 13:55:22 -07:00
Craig Tiller
aeea2f2203
Fix shutdown crash in async streaming test
2015-05-21 13:54:42 -07:00
Craig Tiller
5c8737d171
clang-format qps code - it was getting out of hand
2015-05-21 11:42:17 -07:00
Vijay Pai
76e0fb1dc0
Merge pull request #1669 from dgquintas/benchmark_hosts_info
...
Added the client and server configurations to the bench results proto.
2015-05-21 11:36:41 -07:00
vjpai
efad2ae674
Merge branch 'master' into poisson
2015-05-21 10:20:14 -07:00
David Garcia Quintas
feb67f67dc
Replaced std::this_thread::sleep_for for gpr_sleep_until.
...
std::this_thread::sleep_for isn't available in gcc <= 4.6 (4.7?) nor
VS2010.
2015-05-20 23:13:17 -07:00
David Garcia Quintas
30ecd2b8d9
Return shared_ptr by value plus minor dependency fix
2015-05-20 23:08:29 -07:00
David Garcia Quintas
a6b559a76a
Improvements to reporting mechanism based on comments.
...
Turned the reporter into a composite, much cleaner arch.
2015-05-20 23:08:29 -07:00
David Garcia Quintas
226beffea1
Simplified code based on comments and fixed build.json
2015-05-20 23:08:29 -07:00
David Garcia Quintas
87ca82768d
Added missing benchmark_config.* files
2015-05-20 23:08:29 -07:00
David Garcia Quintas
3cc9ec92d9
Removed registry for benchmark reports & introduced benchmark_config.{h,cc} in the spirit of test_config.{h,cc}.
...
The purpose of benchmark_config is to allow for different behaviors to
be decided at compile-time.
2015-05-20 23:08:29 -07:00
David Garcia Quintas
cdbdedbf23
Refactored benchmark reporting mechanism.
...
It now allows pluggging in "reporter" instances to process the benchmark results arbitrarily.
This would allow, for example, to send results to a leaderboard and/or other systems for tracking performance metrics.
2015-05-20 23:08:29 -07:00
David Garcia Quintas
08116501cb
Fix to work around the fact that Histogram isn't copyable.
2015-05-20 17:27:23 -07:00
Craig Tiller
037d8700a7
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-05-19 22:20:57 -07:00
David Garcia Quintas
6ba29ba3fb
Added the client and server configurations to the bench results proto.
...
The added configurations also include the host of both parties. This
is useful for reporting.
2015-05-19 18:29:35 -07:00
Craig Tiller
fd7166d264
Add response streams to server crash test, fix them
2015-05-19 10:23:03 -07:00
Craig Tiller
7a317e5c77
Add crashing client test
2015-05-19 09:38:29 -07:00
Craig Tiller
882431fff5
Compile fix
2015-05-19 09:25:37 -07:00
Craig Tiller
4f8b679a49
Merge github.com:grpc/grpc into mmm-mmm-mmm-mmm
...
Conflicts:
Makefile
build.json
2015-05-19 09:13:35 -07:00
Craig Tiller
49c3b01c3e
Better RNG seeding portability
2015-05-19 08:18:02 -07:00
Craig Tiller
f98e56c91b
Cheesy attempt to get this working on Travis
2015-05-18 15:00:52 -07:00
vjpai
ccced5389d
Merge branch 'master' into poisson
...
Conflicts:
Makefile
2015-05-18 09:20:43 -07:00
vjpai
6a608020b0
WIP
2015-05-18 09:16:53 -07:00
Yang Gao
b57f72dbee
resolve comments
2015-05-17 21:54:54 -07:00
Yang Gao
26a4912558
Add fake credentials to the test and verify it actually works
2015-05-15 17:02:56 -07:00
Craig Tiller
74e5edab67
Compile fix
2015-05-15 15:55:01 -07:00
Craig Tiller
a969d7c04c
Compile fix
2015-05-15 15:47:51 -07:00
Craig Tiller
3cdd9bbdbc
clang-format
2015-05-15 14:43:47 -07:00
Craig Tiller
069daa383e
Sleep a little after server death to allow TCP time to catch up
2015-05-15 14:40:53 -07:00
Craig Tiller
fbac5f17b7
Crash handling test
2015-05-15 14:20:44 -07:00
Yang Gao
280ca17d79
resolve comments
2015-05-15 10:25:10 -07:00
Yang Gao
a89389283f
support per call credentials in c++
2015-05-14 11:51:07 -07:00
Craig Tiller
06cf3cc607
Fix async end2end to poll all fds from the main thread
2015-05-13 13:11:01 -07:00
Yang Gao
a468c36601
Merge pull request #1493 from ctiller/churn-churn-churn-the-api-gently-down-the-stream
...
Completion queue binding for new requests API change
2015-05-12 12:37:24 -07:00
vjpai
37f7257529
WIP
2015-05-12 10:29:07 -07:00
vjpai
0426ad0fcb
Merge branch 'master' into poisson
...
Conflicts:
Makefile
2015-05-12 01:16:33 -07:00
Siddharth Rakesh
2e9157d88c
Added async streaming ping pong test
2015-05-11 16:50:10 -07:00
Yang Gao
903810191e
Merge pull request #1494 from ctiller/the-churnening
...
Lose redundant tag on unary calls
2015-05-11 11:27:02 -07:00
Yang Gao
9b75c66860
Merge pull request #1489 from ctiller/all-the-small-things
...
Split thread stress from end2end to improve parallelism
2015-05-11 11:17:18 -07:00
vjpai
df99410ffd
Merge branch 'master' into poisson
...
Conflicts:
Makefile
build.json
2015-05-11 10:03:17 -07:00
Craig Tiller
0b488f7649
Merge github.com:grpc/grpc into churn-churn-churn-the-api-gently-down-the-stream
...
Conflicts:
test/cpp/end2end/async_end2end_test.cc
2015-05-08 16:38:32 -07:00
Vijay Pai
aef386b221
Merge pull request #1530 from ctiller/async-fail
...
Increase test timeout
2015-05-08 14:30:31 -07:00
Craig Tiller
5f871ac225
Merge github.com:grpc/grpc into the-churnening
2015-05-08 13:05:51 -07:00
Craig Tiller
e9da2eefcf
Merge github.com:grpc/grpc into all-the-small-things
2015-05-08 12:57:26 -07:00
Craig Tiller
2bac1f8c39
Merge pull request #1470 from vjpai/stream_ctx
...
Fix a bug in synchronous streaming QPS test
2015-05-08 12:12:15 -07:00
Craig Tiller
f51199f2b9
Increase test timeout
2015-05-08 09:32:53 -07:00
Craig Tiller
2be6095c10
Merge github.com:grpc/grpc into churn-churn-churn-the-api-gently-down-the-stream
2015-05-08 08:37:41 -07:00
Craig Tiller
9b015dcf86
Merge branch 'standalone_benchmarks' of https://github.com/dgquintas/grpc into dgquintas-standalone_benchmarks
2015-05-08 08:29:26 -07:00
Craig Tiller
f7ad9a0a1b
Merge branch 'yang-g-mock'
2015-05-08 08:27:40 -07:00
Craig Tiller
696929e09c
Merge github.com:grpc/grpc into all-the-small-things
2015-05-08 08:25:30 -07:00
Craig Tiller
fee0cfa0d5
Merge github.com:grpc/grpc into churn-churn-churn-the-api-gently-down-the-stream
...
Conflicts:
src/cpp/server/server.cc
2015-05-08 07:46:46 -07:00
vjpai
f993194b08
Merge branch 'stream_ctx' into poisson
...
Conflicts:
test/cpp/qps/client_sync.cc
2015-05-07 10:15:04 -07:00
vjpai
8dd7aab00e
Merge branch 'master' into poisson
2015-05-07 10:01:56 -07:00
Craig Tiller
2da0296478
Eliminate need for SIGPIPE handling
2015-05-06 16:14:25 -07:00
Craig Tiller
fb775b80cb
Fix test
2015-05-06 13:09:41 -07:00
Craig Tiller
3676b38183
Lose redundant tag on unary calls
2015-05-06 13:01:05 -07:00
Craig Tiller
f9e6adf998
Completion queue binding for new requests API change
...
Move completion queue binding for new requests to the new request
request time, not server instantiation time.
2015-05-06 11:45:59 -07:00
Craig Tiller
0c23320c8a
Split thread stress from end2end to improve parallelism
2015-05-06 07:42:43 -07:00
vjpai
4f1a75f0aa
Merge branch 'master' into stream_ctx
2015-05-05 17:11:02 -07:00
David Garcia Quintas
d4f10c0320
Split C++'s smoke_test into 4 stand alone ones.
2015-05-05 15:46:27 -07:00
Yang Gao
691ff71da5
Merge remote-tracking branch 'upstream/master' into mock
2015-05-05 13:31:40 -07:00
Yang Gao
196ade3e4d
add a test using the mock interfaces
2015-05-05 13:31:12 -07:00
Vijay Pai
dfe83deb2c
Make sure that we have enough server threads to actually support the
...
number of outstanding streams
2015-05-05 11:42:54 -07:00
vjpai
0a4129399a
Also need to create a vector of streams
2015-05-04 16:39:18 -07:00
Vijay Pai
36ff3f00e2
clang-format
2015-05-04 14:40:21 -07:00
Vijay Pai
25aa12fa75
Support multi-stream synchronous client tests
2015-05-04 14:38:14 -07:00
Yang Gao
3d3d632d72
merge with head
2015-05-04 13:54:11 -07:00
vjpai
041998d986
Change function-pointer to std::function
2015-05-04 09:24:08 -07:00
Yang Gao
c71a9d2b56
clang-format
2015-05-04 00:22:12 -07:00
vjpai
ce3062b324
Merge branch 'master' into poisson
2015-05-01 15:28:52 -07:00
vjpai
3b2e2f77ff
Merge branch 'master' into async-cleanup
2015-05-01 15:26:47 -07:00
Yang Gao
ea13af73e0
merge with head
2015-05-01 11:34:45 -07:00
Yang Gao
3921c56bee
Expose max message size at the server side
2015-04-30 16:07:06 -07:00
Vijay Pai
7ebb17e595
Merge branch 'async-cleanup' into poisson
2015-04-30 14:32:58 -07:00
Vijay Pai
e10ebf15eb
Keep code that is common between both async client versions in a new async superclass and only use unary/streaming-specific material in the subclass.
2015-04-30 13:12:31 -07:00
Craig Tiller
81e57d9acf
Add a thread stress end2end test
2015-04-29 16:34:13 -07:00
Vijay Pai
0b94127bb1
Merge branch 'master' into poisson
2015-04-29 13:58:36 -07:00
vjpai
9ba29cd8f3
Move end_threads to subclass since some subclass-specific fields will still be
...
alive at this time
Conflicts:
test/cpp/qps/client_sync.cc
2015-04-29 11:06:57 -07:00
vjpai
07b2fe6f96
Move end_threads to subclass since some subclass-specific fields will still be
...
alive at this time
2015-04-29 10:40:26 -07:00
vjpai
c6aa60e510
Move interarrival timer to Client class so that it can be used for async tests
...
as well
2015-04-29 10:20:41 -07:00
vjpai
7608e9ed45
Merge branch 'master' into poisson
2015-04-29 10:18:40 -07:00
Craig Tiller
c8667056d5
Merge pull request #1367 from yang-g/interop
...
Add two scenarios in interop test
2015-04-28 17:09:56 -07:00
Vijay Pai
0e6df83b03
Merge branch 'master' into poisson
2015-04-28 09:15:07 -07:00
Vijay Pai
fec0c2cdda
Merge pull request #1375 from ctiller/qps_client
...
Fix a race in QPS client shutdown
2015-04-28 07:55:54 -07:00
vjpai
a188b1f1c4
Merge branch 'poisson' of git://github.com/vjpai/grpc into vjpai-poisson
...
Conflicts:
Makefile
2015-04-27 16:24:22 -07:00
Vijay Pai
4d4372b452
Supply command line flags for open-loop testing
2015-04-27 12:21:15 -07:00
Vijay Pai
e36a32a495
Fix names
2015-04-27 12:21:06 -07:00
Vijay Pai
87dd702783
Fix embarassing break bug
2015-04-27 12:17:37 -07:00
Craig Tiller
98ae48d63c
Ignore SIGPIPE
2015-04-27 11:20:39 -07:00
Craig Tiller
77e0d64b4d
Fix a race in QPS client shutdown
...
Previously we were cleaning up threads only AFTER local resources were
reclaimed, leading to many crashes.
2015-04-27 10:52:54 -07:00
Vijay Pai
105ff2eb2e
Support for open-loop sync test
2015-04-26 01:04:23 -07:00
Craig Tiller
7305dc69e6
Merge pull request #1227 from nicolasnoble/the-purge-2
...
Refactoring std::chrono out.
2015-04-24 17:57:49 -07:00
Yang Gao
fa74ec4617
Merge pull request #1359 from a11r/cc2
...
Test client stream cancellation and fix bug exposed by the test.
2015-04-24 15:16:51 -07:00
Yang Gao
68d615737b
Add two scenarios in interop test
2015-04-24 14:42:42 -07:00
Nicolas "Pixel" Noble
fd2bf675f7
Merge branch 'master' of github.com:grpc/grpc into the-purge-2
...
Conflicts:
include/grpc++/completion_queue.h
2015-04-24 23:24:44 +02:00
Yang Gao
c4b6ffb1b6
Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free.
2015-04-24 13:09:40 -07:00
Nicolas "Pixel" Noble
23be280366
Merge branch 'master' of github.com:grpc/grpc into the-purge-2
...
Conflicts:
src/cpp/client/channel.cc
vsprojects/vs2010/grpc++.vcxproj
vsprojects/vs2013/grpc++.vcxproj.filters
2015-04-24 00:38:19 +02:00
Abhishek Kumar
d774c5cadb
Test client stream cancellation and fix bug exposed by the test.
2015-04-23 14:59:49 -07:00
Craig Tiller
bab1d2cf5f
Merge pull request #1307 from a11r/streamcancel
...
Added e2e tests for server and bidi stream cancellation.
2015-04-23 14:15:41 -07:00
Vijay Pai
e23aba4884
Fix definition of InterarrivalTimer to enable late initialization
...
and use nanoseconds
2015-04-23 13:53:36 -07:00
Abhishek Kumar
a1d3a72930
fixed indentation
2015-04-23 10:24:04 -07:00
Yang Gao
3fbf7d76e2
Merge pull request #1312 from ctiller/batch-metadata
...
Batch metadata
2015-04-22 14:35:46 -07:00
vjpai
9cf0b3b84d
Random number distributions and test for common distributions
2015-04-21 12:58:31 -07:00
Yang Gao
3b3097fb7a
Remove an extra unref
2015-04-21 11:47:45 -07:00
Craig Tiller
12088b26d9
Tweak tests
2015-04-20 09:51:27 -07:00
Abhishek Kumar
18298a7440
Fixed flakes due to OK racing with cancel
2015-04-17 15:00:25 -07:00