Commit Graph

1186 Commits

Author SHA1 Message Date
vjpai 083dc62cf6 Generic test 2016-01-11 09:41:17 -08:00
David Garcia Quintas 4dfe317e5d Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-01-08 15:50:45 -08:00
Craig Tiller 7cc0f464d1 Merge github.com:grpc/grpc into proto_names 2016-01-07 16:37:03 -08:00
Vijay Pai 9f991e252d More changes needed for generic support 2016-01-07 14:08:09 -08:00
Craig Tiller 15f383c6cc Exploratory refactoring for mixed sync/async methods on the same C++ service 2016-01-07 12:45:32 -08:00
Vijay Pai 31c0c7949f clang-format 2016-01-07 11:43:46 -08:00
vjpai de332dfcac Refactor server side to support generic tests. 2016-01-07 10:20:46 -08:00
Yang Gao 848ee629dd Merge pull request #4631 from sreecha/stress_test_logging
Add ability to control the verbosity of stress test logs
2016-01-06 23:01:21 -08:00
Craig Tiller 54ed674d40 Merge github.com:grpc/grpc into proto_names 2016-01-06 17:05:34 -08:00
Sree Kuchibhotla 7cecfa6c48 Adjust the log levels in interop tests and stress tests 2016-01-06 08:09:02 -08:00
Sree Kuchibhotla 0fa95eab81 Ability to filter log messages based on log level 2016-01-06 07:58:10 -08:00
Vijay Pai 18c0477528 Got rid of all compilation problems, now need to test 2016-01-04 09:52:10 -08:00
Vijay Pai e488668075 WIP 2015-12-30 11:56:19 -08:00
vjpai 994f8f76e7 Merge branch 'master' into bbuf 2015-12-30 09:33:39 -08:00
David Garcia Quintas 8974a6681c Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2015-12-24 19:36:38 +01:00
Craig Tiller 00f8702c5e Merge branch 'yawn' into proto_names 2015-12-22 14:23:51 -08:00
Craig Tiller 7536af02cf Eliminate gpr_ int types - and insist on C99 variants instead 2015-12-22 13:49:30 -08:00
Craig Tiller 0fe5ee7be3 BoringSSL integration: non-vsprojects changes 2015-12-22 12:50:36 -08:00
vjpai be75ffd028 Merge branch 'master' into bbuf 2015-12-22 10:40:16 -08:00
Craig Tiller dacb389907 Fix method name 2015-12-17 19:31:00 -08:00
Craig Tiller 1b4e33029e Consolidate C++ proto files under src/proto
- make the directory structure match the package structure
- sanitize the package structure (test --> testing)
- add auto-detection of proto file dependencies
2015-12-17 16:35:00 -08:00
David Garcia Quintas 7052ac25e6 Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2015-12-16 17:36:04 -08:00
Yang Gao 5ff97a27a9 Merge pull request #4479 from ctiller/aarons-bug
Fix double read at end of stream bug
2015-12-16 09:52:47 -08:00
David Garcia Quintas a2b7817481 Removed compression checks from vanilla large unary 2015-12-15 22:35:08 -08:00
Craig Tiller ca9a637877 Fix double read at end of stream bug 2015-12-15 18:16:28 -08:00
Craig Tiller 620e965c1b clang-format after last weeks test-fest 2015-12-14 12:02:50 -08:00
Yang Gao 5b763f5355 Merge pull request #4362 from vjpai/coverage-serve2
Cover an unsupported case of mixing sync and async service in server
2015-12-09 12:50:58 -08:00
vjpai 017ed62ce4 Cover an unsupported case of mixing sync and async service in same server 2015-12-09 10:42:54 -08:00
vjpai ba2b8ed553 Add a case to cover multiple adds of generic service 2015-12-09 10:24:47 -08:00
Craig Tiller 56a363f36c Fix for when grpc::string is not the same type as FLAGS_... 2015-12-03 16:37:27 -08:00
David Garcia Quintas 011e79a271 Merge branch 'master' of github.com:grpc/grpc into grpclb_api
# Conflicts:
#	BUILD
#	Makefile
#	binding.gyp
#	build.yaml
#	gRPC.podspec
#	tools/doxygen/Doxyfile.core.internal
#	tools/run_tests/sources_and_headers.json
#	vsprojects/vcxproj/grpc/grpc.vcxproj
#	vsprojects/vcxproj/grpc/grpc.vcxproj.filters
#	vsprojects/vcxproj/grpc_unsecure/grpc_unsecure.vcxproj
#	vsprojects/vcxproj/grpc_unsecure/grpc_unsecure.vcxproj.filters
2015-12-03 13:09:54 -08:00
Craig Tiller 35c1d3c462 Merge pull request #4207 from yang-g/server_builder_options
Server builder options
2015-12-03 11:39:44 -08:00
Nicolas "Pixel" Noble f9c58f3bf7 Merge branch 'release-0_12'
Conflicts:
	src/core/security/credentials.c
	test/core/security/credentials_test.c
2015-12-01 22:40:44 +01:00
vjpai 594f0c43e0 Merge branch 'master' into bbuf 2015-11-30 15:53:49 -08:00
vjpai b6df94ad22 WIP 2015-11-30 15:52:50 -08:00
yang-g 52705590e4 Add set pointer api to channel_arguments 2015-11-25 11:45:33 -08:00
yang-g d9f6101967 merge with head 2015-11-24 10:39:23 -08:00
yang-g 3ff9727a37 merge with head 2015-11-20 17:01:57 -08:00
Sree Kuchibhotla e1330ff451 Add multiple channels to each server 2015-11-20 10:03:32 -08:00
Julien Boeuf 114f39475f Cpp example of how the plugins can be done. 2015-11-19 22:24:05 -08:00
Sree Kuchibhotla bc3127d4c3 Address code review comments 2015-11-19 10:32:59 -08:00
Sree Kuchibhotla dbf9061033 Merge branch 'master' into stress_tests_metrics 2015-11-19 10:29:39 -08:00
Sree Kuchibhotla 52a514a250 Address code review comments 2015-11-19 10:28:47 -08:00
David G. Quintas 6d8063261b Merge pull request #4097 from ctiller/hpack_max_table_size
Support dynamic HPACK table resizing
2015-11-19 09:56:25 -08:00
Jan Tattermusch 846ae8d9c2 Merge pull request #4156 from jtattermusch/perf_testing_polishing
Performance proto polishing
2015-11-19 09:51:54 -08:00
Sree Kuchibhotla 87f51663ee Merge branch 'master' into stress_tests_metrics 2015-11-19 08:48:56 -08:00
Jan Tattermusch c5ebbd5b8f use new perf proto options in c++ 2015-11-18 17:17:34 -08:00
yang-g 71b962634e merge with head 2015-11-18 11:41:30 -08:00
Craig Tiller ab5611da62 Merge github.com:grpc/grpc into hpack_max_table_size 2015-11-18 11:27:35 -08:00
David G. Quintas 75b53d6a5d Merge pull request #3993 from ctiller/new_op
Core transport & call cleanup
2015-11-18 08:52:10 -08:00
Julien Boeuf 232d625a84 Merge branch 'master' of github.com:grpc/grpc into core_creds_api_change 2015-11-17 20:55:13 -08:00
Julien Boeuf 6049ebd8d2 More C++ fixes (the merge did not quite work...). 2015-11-17 16:53:52 -08:00
Julien Boeuf 9a437c2c46 Forgot to fix driver.cc somehow... 2015-11-17 16:38:52 -08:00
Julien Boeuf 675b5ce861 Merge branch 'master' of github.com:grpc/grpc into core_creds_api_change 2015-11-17 15:05:45 -08:00
yang-g a89bf50cf1 Handle cancel before start case 2015-11-17 14:19:17 -08:00
David Garcia Quintas 5dc96fb5b8 Comments 2015-11-17 09:58:34 -08:00
David Garcia Quintas 5de1616336 Fix naming issue in stress_test
(via ahh@google.com)
Under some configurations gRPC includes google3 base headers.  google3
has a namespace "thread" which mixes poorly with unqualified use of the
type std::thread; adding that namespace to various google3 headers
breaks this test.
2015-11-17 09:39:39 -08:00
Sree Kuchibhotla cffb1c220b Merge branch 'master' into stress_tests_metrics 2015-11-16 14:47:59 -08:00
Sree Kuchibhotla b047c0fc9b Address code review comments 2015-11-16 14:41:04 -08:00
David Garcia Quintas ff03847182 Moved nanopb to 3rd party 2015-11-12 09:27:13 +00:00
Craig Tiller 3c53bb2f46 clang-format 2015-11-10 14:24:36 +00:00
yang-g c9fca1813a refacto of the reconnect tcp server to a general purpose test tcp server to be reused by the set_initial_string_test 2015-11-06 16:41:33 -08:00
Craig Tiller 61ed001585 Merge github.com:grpc/grpc into new_op 2015-11-05 09:55:47 -08:00
vjpai fba20c987d Address some review comments about signal and restoring qps_test_with_poll
Make payloads respect the new defaults
2015-11-04 14:49:17 -08:00
Sree Kuchibhotla c36b480ce9 Fix a small error 2015-11-04 14:25:05 -08:00
vjpai 3affdddf5b Add secure testing to sweep 2015-11-04 13:13:25 -08:00
vjpai f8603adba1 Secure performance testing for C++ is in the hizzouse! 2015-11-04 12:49:33 -08:00
vjpai 454074369e Better reasonable default 2015-11-04 08:33:49 -08:00
vjpai 783c144afa Fix up single run test
Enable reasonable default if resp size not specified
2015-11-04 08:29:33 -08:00
Craig Tiller a147aee75a Merge github.com:grpc/grpc into new_op 2015-11-04 07:29:22 -08:00
Vijay Pai ce84670628 clang-format 2015-11-04 00:30:12 -08:00
vjpai 780a7f205d Add in security support, make payload protos configurable
Have not yet added tests with security support, coming soon
2015-11-04 00:19:09 -08:00
David Garcia Quintas 49433744ee Proto API for LB request/responses 2015-11-03 23:53:42 -08:00
Sree Kuchibhotla 4d0f2f9dab Fix typo in my previous commit. %s/guage/gauge/g 2015-11-03 15:55:43 -08:00
Sree Kuchibhotla b5e98c5c69 Make number of stubs per channel configurable and expose metrics from
client
2015-11-03 14:12:13 -08:00
vjpai d08a738166 Cleanup some names
Remove some unused options and make server_threads relevant
Start stubbing out better qps/core calculations
2015-11-02 16:45:08 -08:00
vjpai 9b14e15165 Merge commit '6bf1de9' into protosplit 2015-11-02 14:50:28 -08:00
vjpai 6bf1de9ab2 Mark a method with GRPC_OVERRIDE to avoid compiler warning 2015-11-02 14:48:57 -08:00
vjpai aa39192d70 Cleanup directory and make minor changes 2015-11-02 14:46:04 -08:00
Craig Tiller 93b944785c stream_op cleanup: test fixes and updates 2015-11-02 14:18:30 -08:00
vjpai 11537dc71c Merge remote-tracking branch 'upstream/master' into protosplit 2015-11-02 09:22:10 -08:00
vjpai 72a6332138 QPS worker no longer needs to specify server port on command line. This is part
of the proto if desired, or just goes to pick_unused_port_or_die if not
specified
2015-10-29 02:23:11 -07:00
vjpai 119c103ab0 Split up into a new service proto, use proper service suffix, add a
reset option to the mark, create a closed loop config params (empty
message) for consistency with other tests.
2015-10-29 01:21:04 -07:00
vjpai 754751e3c6 Numerous proto changes to make things more sane and fix some outstanding issues 2015-10-28 09:16:22 -07:00
Nicolas Noble ceced33a49 Merge pull request #3962 from sreecha/skip_stress_tests
Skip running stress_tests on jenkins by run_tests.py
2015-10-26 17:35:38 -07:00
Sree Kuchibhotla f51ea7aab9 Explicitly use grpc::string instead of std::string to be consistent with other test code 2015-10-26 13:50:40 -07:00
Sree Kuchibhotla 117c8af8d3 Skip running stress_tests on jenkins by run_tests.py (This will fix the
issue addressed by commit: e6cd0e70a9, the right way)
2015-10-26 11:01:11 -07:00
David Garcia Quintas ba4290a82d Removed 'using' conflicting with import 2015-10-23 15:31:04 -07:00
Sree Kuchibhotla e6cd0e70a9 Return success if there are no test cases to run 2015-10-22 15:56:07 -07:00
Sree Kuchibhotla 119062428f Fix the error reported by tools/run_tests/check_sources_and_headers.py 2015-10-22 15:04:26 -07:00
Sree Kuchibhotla 41b2143dcb Address code review comment 2015-10-22 10:42:47 -07:00
Sree Kuchibhotla 7f729f5ad8 Merge branch 'master' into stress_tests_new 2015-10-22 10:38:22 -07:00
vjpai 52bfb2564f Split qpstest.proto into two parts - one for performance stats and
one for control.
Eliminate the use of our own SimpleRequest and SimpleResponse and
instead share the one from end2end testing
2015-10-21 07:50:49 -07:00
Sree Kuchibhotla ac7edec71f Add an option to reuse the TestService::Stub in interop client class 2015-10-20 16:45:52 -07:00
Sree Kuchibhotla 2bc3ac3032 Merge branch 'stress_tests_new' of github.com:sreecha/grpc into stress_tests_new 2015-10-19 16:22:41 -07:00
Sree Kuchibhotla fbc376f935 Interop stress tests 2015-10-19 16:15:51 -07:00
vjpai 0cc1341199 Move qpstest.proto to a common area (test/proto) instead of test/cpp/qps 2015-10-19 12:21:45 -07:00
Julien Boeuf 3bb61d8917 Merge branch 'master' of https://github.com/grpc/grpc into core_creds_api_change 2015-10-17 22:14:29 -07:00
Sree Kuchibhotla 728a6104d5 Interop stress tests 2015-10-16 10:56:31 -07:00
David Garcia Quintas 5f9e979e8c Merge branch 'master' of github.com:grpc/grpc into cq_alarm 2015-10-13 15:26:33 -07:00
David Garcia Quintas 9c97aaed08 Merge branch 'master' of github.com:grpc/grpc into cq_alarm 2015-10-12 21:21:18 -07:00
Julien Boeuf 18a12c4e9b Fixing zookeeper tests as well. 2015-10-12 15:05:59 -07:00
Julien Boeuf e5adc0eb67 Fixing Cpp tests. 2015-10-12 14:09:13 -07:00
Craig Tiller 2b15f1e25a Merge github.com:grpc/grpc into latent-see 2015-10-09 17:07:56 -07:00
Craig Tiller 0ba432d445 Move profiling system to gpr 2015-10-09 16:57:11 -07:00
Craig Tiller 1f41b6b5ed Simplify adding annotations, annotate more things 2015-10-09 15:07:02 -07:00
Sree Kuchibhotla 1f0846d127 Merge pull request #3692 from dgquintas/inspector_fail
Fixed unprotected access to call field
2015-10-09 10:57:08 -07:00
Vijay Pai df58c81fb2 Merge pull request #3698 from ctiller/qps_test_be_locky
Add a timeout to benchmark test runs
2015-10-08 22:41:07 -07:00
David Garcia Quintas 0c331880d0 Hid test-only functions from surface/call.h 2015-10-08 14:57:11 -07:00
Craig Tiller b37391ef45 Merge github.com:grpc/grpc into latent-see 2015-10-08 14:53:19 -07:00
David Garcia Quintas 7a0ae4c7f7 Merge branch 'master' of github.com:grpc/grpc into cq_alarm 2015-10-08 13:32:32 -07:00
Craig Tiller 86253ca1da Latency traces 2015-10-08 13:31:02 -07:00
David Garcia Quintas 7fd0fd5023 C++ Alarm implementation (with tests). 2015-10-07 19:04:58 -07:00
yang-g a006b5f33b change default value of use_test_ca 2015-10-07 13:14:35 -07:00
Craig Tiller b17b7f4871 Add a timeout to benchmark test runs 2015-10-07 08:48:51 -07:00
yang-g 92981d5c3d remove flag use_prod_roots in interop test and add use_test_ca per the interop test spec 2015-10-06 14:45:01 -07:00
Craig Tiller 91054e6855 Merge pull request #3627 from yang-g/flake2
Deflake end2end_test
2015-10-05 11:21:49 -07:00
yang-g c04610357c The Writes may return false after the server cancels the stream 2015-10-02 16:22:43 -07:00
Jan Tattermusch 1f8efa266d Merge pull request #3386 from yang-g/enable_ssl
enable_ssl to use_tls
2015-10-02 13:37:30 -07:00
Vijay Pai 7a94236d69 Merge pull request #3556 from ctiller/clangf
Fix clang-format script
2015-10-01 23:23:50 -07:00
yang-g 035cf093de enable_ssl to use_tls 2015-10-01 11:39:24 -07:00
yang-g 0d55750cb2 Maybe it is already ready when we call getstatus 2015-10-01 11:34:00 -07:00
Craig Tiller b7a597771f Merge github.com:grpc/grpc into clangf 2015-10-01 08:01:58 -07:00
Vijay Pai f37cac7dd2 Merge pull request #3565 from yang-g/end2end_test
Add more test cases to end2end test.
2015-09-30 14:36:41 -07:00
Vijay Pai 8423203cbb For compatibility with gcc-4.4, eliminate use of sleep_for and
std::atomic
2015-09-29 23:16:08 +00:00
yang-g bf22e0e8a0 remove anonymous namespace in anonymous namespace 2015-09-29 12:50:07 -07:00
yang-g 88d5d52d73 add tls and proxy as dimensions of end2end test 2015-09-29 12:47:51 -07:00
Craig Tiller 71a0f9d3b0 Fix clang-format script 2015-09-28 17:22:01 -07:00
Vijay Pai fa6e70ff85 Remove one pessimizing std::move 2015-09-28 15:56:07 -07:00
Nicolas Noble 0f9a118f4e Merge pull request #3474 from ctiller/clang_format
Add clang-format to sanity
2015-09-25 22:04:11 -07:00
Yang Gao b09a875917 Merge pull request #3476 from vjpai/block_annotate
Annotate blocking points
2015-09-25 13:54:51 -07:00
Craig Tiller dd69342218 Merge github.com:grpc/grpc into clang_format 2015-09-25 09:56:52 -07:00
vjpai 3ca49d2a1a Add a todo regarding a C++ block annotation 2015-09-24 21:55:16 -07:00
Craig Tiller ddf3a511aa Add clang-format to sanity 2015-09-24 13:03:44 -07:00
Craig Tiller b0bd53a173 Merge github.com:grpc/grpc into shindig
Conflicts:
	src/core/surface/secure_channel_create.c
2015-09-22 16:24:12 -07:00
Julien Boeuf 8b0b6f413d It is a bad idea to have a map with string_refs as output params.
This is very much unsafe as the string_ref could point on a stack
variable of the callee.
2015-09-22 13:31:16 -07:00
Craig Tiller 10ee2747a9 Merge github.com:grpc/grpc into we-are-one 2015-09-22 09:25:57 -07:00
Craig Tiller f9dd54c2eb Merge pull request #3378 from yang-g/connection_failure_detection
remove connectivity watcher from interested party early
2015-09-22 08:28:22 -07:00
yang-g 78bddc66b7 Add empty_stream test case 2015-09-21 10:32:17 -07:00
yang-g 5e8abedd61 use seconds 2015-09-18 01:31:57 -07:00
yang-g d886f33939 add a test 2015-09-18 01:24:14 -07:00
Julien Boeuf fd2f7331fa Merge branch 'master' of github.com:grpc/grpc into core_creds_plugin 2015-09-15 15:20:26 -07:00
Julien Boeuf 1928d496a2 Adding C++ tests and fixing a few things. 2015-09-15 15:20:11 -07:00
Craig Tiller 8cf0ed03d1 Fix mac build 2015-09-10 22:37:25 -07:00
Craig Tiller 138de60a1e Merge pull request #3174 from vjpai/shutitdown2
Put timeout on QPS test server shutdown
2015-09-10 21:56:37 -07:00
David G. Quintas 8df85003f8 Merge pull request #3218 from yang-g/interop
Interop test update
2015-09-08 15:06:02 -07:00
Craig Tiller 2311d4918f Merge pull request #3186 from grpc/release-0_11
Daily Release 0.11 upport to master
2015-09-03 17:16:03 -07:00
yang-g 8e1e22784d Merge remote-tracking branch 'upstream/master' into interop 2015-09-03 12:35:34 -07:00
Nicolas "Pixel" Noble 59588c6162 Removing pessimizing moves.
Pass #2.
2015-09-03 02:29:30 +02:00
yang-g d55ce144bb Merge remote-tracking branch 'upstream/master' into interop 2015-09-02 15:55:15 -07:00
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