Vijay Pai
f373f2cf8b
Stop holding histogram for a long time
2016-07-08 09:40:55 -07:00
Yuchen Zeng
c68640f05c
Read from stdin
...
Read from stdin if the request text and binary file are not provided
2016-07-07 16:42:32 -07:00
Craig Tiller
fbf03c1735
Fix high seqno tests, up runtimes for benchmark tests to flush more bugs
2016-07-07 13:10:09 -07:00
Yuchen Zeng
a17c8d993d
Fix typos
2016-07-07 11:40:05 -07:00
Yuchen Zeng
c24e0ee4f0
Update docs
2016-07-07 11:32:25 -07:00
Yuchen Zeng
256cc7aa03
Support server reflection in CLI
2016-07-07 11:09:49 -07:00
Vijay Pai
ceb1a7d79f
Add more information so that we can have a meaningful exit code
2016-07-07 11:06:04 -07:00
Craig Tiller
6c8619bbe7
Better fix for flow control bug
2016-07-07 10:41:48 -07:00
Sree Kuchibhotla
9181754cd9
Merge branch 'master' into stress_test_metrics_fix
2016-07-07 09:39:45 -07:00
vjpai
b0f15e8af3
Reduce assertions, use status codes, increase verbosity on errors
2016-07-06 13:57:01 -07:00
Mark D. Roth
98aa0c13f0
Merge branch 'filter_call_init_failure' into filter_api
2016-07-01 14:17:55 -07:00
Craig Tiller
eda85c6765
Expunge all references to zookeeper
2016-07-01 12:45:19 -07:00
Sree Kuchibhotla
d2a4fd4385
Merge branch 'master' into stress_test_metrics_fix
2016-06-30 14:17:51 -07:00
Mark D. Roth
ab950ee7c5
Move channel_filter.h from include/ tree to src/ tree.
2016-06-29 14:51:53 -07:00
Sree Kuchibhotla
18a0e47970
Fix cout error string
2016-06-29 12:04:09 -07:00
Mark D. Roth
89ebe55985
Merge branch 'filter_call_init_failure' into filter_api
2016-06-29 07:50:18 -07:00
Craig Tiller
346da5f346
Merge github.com:grpc/grpc into consistent_client_count
2016-06-28 14:09:08 -07:00
David Garcia Quintas
78fbb0a301
added some includes
2016-06-28 14:02:41 -07:00
Craig Tiller
f0255d4d9c
Merge pull request #7095 from ctiller/all_calls_together
...
Colocate calls for the same channel on the same CQ
2016-06-28 12:27:01 -07:00
David Garcia Quintas
c534b0d121
make gcc 4.4 happy
2016-06-28 11:48:05 -07:00
David Garcia Quintas
390673ae1b
clang-format
2016-06-28 10:38:19 -07:00
Sree Kuchibhotla
ad57b266c7
Fix metrics client logging
2016-06-27 20:46:37 -07:00
Jan Tattermusch
11015b43af
Merge pull request #7019 from dgquintas/wrong_msg_interop_client_cpp
...
Fixed error messages for C++ interop client.
2016-06-27 16:21:22 -07:00
Craig Tiller
5b47ac385b
Colocate calls for the same channel on the same CQ
2016-06-27 15:47:17 -07:00
David Garcia Quintas
193a5c737f
printf portability sucks
2016-06-27 11:30:10 -07:00
Mark D. Roth
07cd9c9e06
Initial attempt at a C++ wrapper for the C grpc_transport_op and
...
grpc_transport_stream_op structs.
2016-06-27 10:14:38 -07:00
Craig Tiller
f467846b1b
Merge github.com:grpc/grpc into reuse_port
2016-06-26 09:54:53 -07:00
Jan Tattermusch
a5cae9bd64
Merge pull request #6798 from jboeuf/fix_3803
...
Fix #3803
2016-06-24 16:14:02 -07:00
yang-g
a324c4fea6
Add API to get c slice from c++ Slice.
2016-06-24 11:59:35 -07:00
vjpai
9959f3d0ec
Fix the golden file - why do we even have this lever?
2016-06-23 23:19:15 -07:00
vjpai
c0c38b1f19
Make the FCUnary class actually work and test it
2016-06-23 17:27:11 -07:00
vjpai
fcb98a578c
Add NextMessageSize method to all readable streams as an upper-bound
...
on the actual message size.
Rename Size of FCUnary to NextMessageSize for consistency
2016-06-23 13:18:50 -07:00
Craig Tiller
c074408bd3
Merge github.com:grpc/grpc into consistent_client_count
2016-06-23 11:57:26 -07:00
David Garcia Quintas
83a6a828b0
Fixed error messages for C++ interop client.
2016-06-23 11:33:13 -07:00
Robbie Shade
820c1f3fda
ASSERT vector size before directly accessing first element
2016-06-23 14:31:28 -04:00
David Garcia Quintas
f9f856bb89
Added todos for more grpclb tests.
2016-06-22 18:25:53 -07:00
David Garcia Quintas
aaba131346
finally got rid of external deps to generate the lb response proto
2016-06-22 18:10:37 -07:00
Craig Tiller
5856dee7d6
Fix compile
2016-06-22 16:30:22 -07:00
Craig Tiller
88a3e93f0d
Better distribution
2016-06-22 08:18:07 -07:00
Craig Tiller
7e5d46496b
Better distribution
2016-06-22 08:17:27 -07:00
Craig Tiller
d82a5b66c7
Merge github.com:grpc/grpc into reuse_port
2016-06-22 08:08:45 -07:00
David Garcia Quintas
446f70e384
fixed faulty server streaming c++ test case
2016-06-21 17:13:28 -07:00
David Garcia Quintas
dacce7a1e1
fixed bad merge. c++ tests should work again
2016-06-21 16:40:20 -07:00
David Garcia Quintas
69a9024032
Merge branch 'grpclb_v0' of github.com:dgquintas/grpc into grpclb_v0
2016-06-21 14:52:10 -07:00
David Garcia Quintas
55145c03d2
first step in transforming grpclb_test to C++
2016-06-21 14:51:54 -07:00
Craig Tiller
04a468122f
Add comment
2016-06-21 09:16:57 -07:00
Craig Tiller
d263b925e8
Make sure to poll cq
2016-06-21 09:15:57 -07:00
David Garcia Quintas
50c5511a9b
Merge branch 'master' of github.com:grpc/grpc into simplify_compression_interop
2016-06-17 19:01:03 -07:00
David Garcia Quintas
3c65d24fab
updated stress test with new tests cases
2016-06-17 15:18:18 -07:00
Vijay Pai
ddf694cc62
Merge branch 'master' into wheezy
2016-06-17 13:41:38 -07:00
Vijay Pai
6ab4788ae9
clang-format changes
2016-06-17 00:31:23 -07:00
David Garcia Quintas
8375c0daea
Merge branch 'master' of github.com:grpc/grpc into simplify_compression_interop
2016-06-16 18:43:19 -07:00
Jan Tattermusch
3e45ed1c9a
Merge pull request #6838 from vjpai/trigger_happy
...
Revert unneeded change in qps worker
2016-06-16 18:00:25 -07:00
Jan Tattermusch
ef03e53938
Merge pull request #6858 from makdharma/issue5851
...
implement interval_us functionality
2016-06-16 17:59:39 -07:00
David Garcia Quintas
909dd6ec8b
Merge branch 'master' of github.com:grpc/grpc into simplify_compression_interop
2016-06-16 17:03:40 -07:00
David Garcia Quintas
560875239e
c++ client & server changes to bring code up to spec
2016-06-16 16:52:11 -07:00
David Garcia Quintas
34f1b555ae
better test_case flag help formating
2016-06-16 16:51:20 -07:00
Mark D. Roth
9fe5ef5f9d
Removed unnecessary comments. Added connection counter to test.
2016-06-16 14:26:04 -07:00
Mark D. Roth
f5bbff9c8e
Fix portability issues.
2016-06-16 12:56:07 -07:00
Mark D. Roth
905227049b
Remove unnecessary code from test.
2016-06-16 11:40:25 -07:00
Mark D. Roth
f9c1f7a412
clang-format
2016-06-16 10:57:28 -07:00
Mark D. Roth
c008b33c18
Pass channel args to ChannelData ctor and ChannelData to CallData ctor.
2016-06-16 10:39:39 -07:00
Mark D. Roth
8a1a5976c7
Fixed test.
2016-06-16 10:22:26 -07:00
Mark D. Roth
c459ecf7c9
- fix build problems
...
- make changes suggested by reviewer
- add test (not working yet)
2016-06-16 09:17:49 -07:00
Vijay Pai
b31a9a0900
Include <cinttypes> for PRIuPTR. Not clear why this is needed.
2016-06-16 07:50:20 +00:00
Vijay Pai
6b668cc93f
Remove range-based for, comparisons to nullptr
2016-06-16 07:49:36 +00:00
Vijay Pai
b9e927afcc
Merge branch 'master' into wheezy
2016-06-15 22:57:21 -07:00
Vijay Pai
20bf126da6
clang-format
2016-06-15 22:21:48 -07:00
vjpai
e44d53757a
De-lambda-ify
2016-06-15 22:15:00 -07:00
Vijay Pai
679c75f0a6
Deal with issues surrounding const members of classes used in
...
containers
2016-06-15 13:10:32 -07:00
Vijay Pai
a63271c77f
Deal with to_string, proper usage of nullptr, and lack of map::emplace
2016-06-15 12:56:38 -07:00
Vijay Pai
12bf3801b8
Got carried away with grpc::
2016-06-15 11:24:10 -07:00
Vijay Pai
08e071abe0
Specify template parent explicitly
2016-06-15 10:58:15 -07:00
Vijay Pai
9aa5f23645
Switch out a using with a typedef
2016-06-15 10:50:23 -07:00
Vijay Pai
efa8430e39
Enforce gcc-4.4 compatibility on test_credentials_provider by changing
...
a map to 2 vectors. Additional minor changes needed (e.g., override->GRPC_OVERRIDE,
nullptr->grpc::nullptr)
2016-06-15 10:23:34 -07:00
Jan Tattermusch
8fb6c924b5
Merge pull request #6875 from y-zeng/log_check
...
Add format check for gpr_log and gpr_asprintf, add gpr_strpad
2016-06-14 19:31:05 -07:00
Jan Tattermusch
136307756c
Merge pull request #6438 from y-zeng/reflection_separate_lib
...
Proto server reflection
2016-06-13 14:16:06 -07:00
vjpai
97da6473b4
Manual clang-format
2016-06-13 09:56:26 -07:00
Yuchen Zeng
bcf5023bb6
Fix zookeeper_test
2016-06-10 16:22:57 -07:00
Yuchen Zeng
ed81a88c3e
Merge remote-tracking branch 'upstream/master' into log_format_check
2016-06-10 15:46:23 -07:00
Yuchen Zeng
beaa35724c
Fix type mismatch for type_size
2016-06-10 15:46:14 -07:00
Yuchen Zeng
0ba114408e
Fix gpr_log format mismatches in c++ tests
2016-06-10 15:15:44 -07:00
Vijay Pai
15855f3e7f
Switch server builder plugin API to something that will work with gcc4.4
2016-06-10 12:25:32 -07:00
Jan Tattermusch
698d3e91ff
Merge pull request #6822 from yang-g/empty_message_test
...
add a test with empty request
2016-06-09 17:22:10 -07:00
Makarand Dharmapurikar
509246f59b
implement interval_us functionality
...
Implemented ability to sleep before sending response as intended
by the ResponseParameters proto.
2016-06-09 16:28:02 -07:00
David Garcia Quintas
74686ce7c4
Completed interop spec, as well as code for c++
2016-06-09 15:33:33 -07:00
David Klempner
e27d189f21
Factor out json seriailzation code and move it into parse_json.
...
This is for the same reasons as ParseJson, that is so that we can limit
the scope of the proto namespace differences between internal and
external.
2016-06-08 17:11:26 -07:00
David Garcia Quintas
485cf40ab7
Fixed wrong spec and reworked streaming compressed case
2016-06-08 13:35:25 -07:00
vjpai
74e6e135e9
I was trigger-happy with changes to qps_worker in the hope of improving
...
stability. I believe that this change was unneeded and actually
may hurt matters by holding a lock for too long.
Partially undoes #5444 , particular commit e7042b5
2016-06-08 13:32:16 -07:00
David Garcia Quintas
20d802db98
removed unused vble
2016-06-07 22:04:10 -07:00
David Garcia Quintas
126ae106d6
fixed silly typo
2016-06-07 21:15:05 -07:00
David Garcia Quintas
d3ce0218d1
disabled bogus checks for streaming compressed
2016-06-07 18:45:21 -07:00
David Garcia Quintas
14f40b8b02
Merge branch 'master' of github.com:grpc/grpc into simplify_compression_interop
2016-06-07 18:00:53 -07:00
David Garcia Quintas
5756c8fead
removed RANDOM and simplified req for compression
2016-06-07 18:00:44 -07:00
Yuchen Zeng
d23710787b
Merge remote-tracking branch 'upstream/master' into reflection_separate_lib
2016-06-07 15:00:52 -07:00
yang-g
000aa457dc
add a test with empty request
2016-06-07 13:08:39 -07:00
Jan Tattermusch
570408fd4c
Merge pull request #6741 from yang-g/its_ok_to_have_no_read_on_cancelled_call
...
Let Next set ok=true when receiving error status
2016-06-07 10:54:02 -07:00
Yuchen Zeng
7ae31a8898
Add more comments, fix format issues
2016-06-06 14:35:51 -07:00
Yuchen Zeng
0601df3a04
Move reflection src/hdr to src/cpp/ext include/grpc++/ext
2016-06-06 13:08:06 -07:00
Yuchen Zeng
1495cb5b24
Addressed reveiw comments about naming
2016-06-06 10:58:29 -07:00
Julien Boeuf
38c0cdee34
Fix double-free issue for optional_message.
...
Also better end to end testing of plumbing of plugin error message.
2016-06-06 14:46:08 +02:00
yang-g
34b5861e5c
Spliting filegroup.
2016-06-03 17:51:00 -07:00
yang-g
aaee544d69
merge and resolve conflicts
2016-06-03 15:34:01 -07:00
yang-g
17487f9a22
Make grpc++ independent of protobuf
2016-06-03 15:21:15 -07:00
Yuchen Zeng
c8074527b2
Remove unnecessary headers
2016-06-03 14:36:11 -07:00
Jan Tattermusch
b0bb674df3
Merge pull request #6636 from yang-g/grpc_cli
...
Add proto file support in grpc_cli
2016-06-03 16:12:36 -04:00
Jan Tattermusch
05808c4208
Merge pull request #6731 from vjpai/beheader
...
Remove unused portions of C++ QPS testing
2016-06-03 16:09:51 -04:00
Jan Tattermusch
2ff798629c
Merge pull request #6664 from dklempner/server_builder_plugin_test
...
Fix a missing initialization
2016-06-02 20:28:39 -04:00
yang-g
15759f610e
Let Next set ok=true when receiving error status
2016-06-01 11:21:27 -07:00
Craig Tiller
d4aa7cf5a5
Fix negation
2016-05-31 13:59:25 -07:00
Craig Tiller
1adb13143f
Add comment
2016-05-31 13:04:32 -07:00
Craig Tiller
dbd03b5e2d
Make client_channels be across all clients, not per-client
2016-05-31 13:00:33 -07:00
vjpai
711472f846
Remove unused gflags and gtest includes
2016-05-31 12:57:38 -07:00
vjpai
d8364f7af5
Deprecate perf_db use
2016-05-31 12:54:04 -07:00
Yuchen Zeng
c92fe25af5
Add mutex for stream in ProtoReflectionDescriptorDatabase, fix headers check
2016-05-25 07:18:57 -07:00
Craig Tiller
e0ddc35aa3
Speed up tests
2016-05-23 15:57:48 -07:00
Craig Tiller
825cd4533c
Cleanup redundant tests
2016-05-23 15:54:38 -07:00
Craig Tiller
e67f7b6b54
Fix timeout on async server shutdown
...
Server was continuing to make requests for new calls forever, which were
starving out the shutdown sequence. Change order and win.
2016-05-23 14:50:24 -07:00
Craig Tiller
c4c6ecf8e9
Merge github.com:grpc/grpc into test_affine
2016-05-23 12:48:55 -07:00
Jan Tattermusch
b90e6c9b4a
Merge pull request #6670 from ctiller/guess_cpu
...
Better guesses at benchmarks turned unit tests cpu cost
2016-05-22 21:17:08 -04:00
Jan Tattermusch
d44b15a0c6
Merge pull request #6436 from jboeuf/credentials_refactoring
...
Refactoring the core security code.
2016-05-22 17:29:43 -04:00
Craig Tiller
bc7593de7a
Revert "Revert "Remove spam""
...
This reverts commit e76528ce26 .
2016-05-21 13:05:44 -07:00
Craig Tiller
34c6e87598
Simpler trick to force a listening cq
2016-05-21 13:05:01 -07:00
Craig Tiller
e76528ce26
Revert "Remove spam"
...
This reverts commit 3f3312e7e9 .
2016-05-21 12:43:17 -07:00
Craig Tiller
3f3312e7e9
Remove spam
2016-05-21 12:35:29 -07:00
Craig Tiller
ae09d9dca9
Fixes and code simplification
2016-05-20 22:23:37 -07:00
Yuchen Zeng
91c51a7aba
Add proto_server_reflection_test
2016-05-20 14:48:08 -07:00
Craig Tiller
c0cb23b885
Merge branch 'guess_cpu' into test_affine
2016-05-20 11:17:31 -07:00
Craig Tiller
bd24a4611f
Better guesses at benchmarks turned unit tests cpu cost
2016-05-20 11:15:58 -07:00
Craig Tiller
139040b8be
Merge github.com:grpc/grpc into test_affine
2016-05-20 10:56:52 -07:00
Craig Tiller
718ce51af8
Fix server plugin test
2016-05-20 10:44:23 -07:00
Craig Tiller
e004958fd6
Fix formatting, mem leak, stall
2016-05-20 10:31:09 -07:00
Craig Tiller
aae6c2cb96
Fix server plugin test
2016-05-20 08:58:30 -07:00
David Klempner
b941d5a4aa
Fix a missing initialization
2016-05-19 21:00:47 -07:00
yang-g
fe3e8b7313
remote unused member
2016-05-19 15:30:05 -07:00
Yuchen Zeng
ace4986e65
Update reflection implementation along with API changes
2016-05-19 15:10:22 -07:00
Jan Tattermusch
54140f9760
Merge pull request #6608 from yang-g/interop
...
Assert we get a valid creds.
2016-05-19 13:20:43 -07:00
Jan Tattermusch
1226387698
Merge pull request #6585 from ctiller/connect_first
...
Make qps workers connect before even warmup stage begins
2016-05-19 13:20:00 -07:00
Julien Boeuf
a4880374f9
Merge branch 'master' of github.com:grpc/grpc into credentials_refactoring
2016-05-18 22:12:43 -07:00
Jan Tattermusch
b9f11c3fa2
Merge pull request #6625 from sreecha/stress_test_misc
...
Misc changes to stress test framework (to reduce false positives and tools for debugging)
2016-05-18 18:41:35 -07:00
Craig Tiller
9766f4f424
Merge github.com:grpc/grpc into test_affine
2016-05-18 16:55:35 -07:00
yang-g
df012d048a
Add proto file support in grpc_cli
2016-05-18 16:15:15 -07:00
Jan Tattermusch
aa51f63da3
Merge pull request #6463 from dgquintas/fix_compression_interop
...
Fixed compression interop and re-enable for C++.
2016-05-18 07:29:04 -07:00
Sree Kuchibhotla
4dd02fc63c
Misc changes
2016-05-17 18:37:52 -07:00
Sree Kuchibhotla
eaa3072744
Make the rpc timeout configurable
2016-05-17 17:18:23 -07:00
Yuchen Zeng
749005efcc
Merge remote-tracking branch 'upstream/master' into reflection_separate_lib
2016-05-17 14:06:44 -07:00
yang-g
ed9ae72e7b
Assert we get a valid creds.
2016-05-16 14:09:23 -07:00
Craig Tiller
c3b88b079e
Better testing
2016-05-16 11:21:17 -07:00
Craig Tiller
1102faffca
Merge branch 'connect_first' into test_affine
2016-05-14 13:27:02 -07:00
Craig Tiller
f7a670fe6d
Merge branch 'server_channel_affinity' of github.com:sreecha/grpc into affine
2016-05-14 13:05:41 -07:00