Commit Graph

1326 Commits

Author SHA1 Message Date
David Klempner 6fb122dc6e Add calls to grpc_recycle_unused_port to two of the tests which call
grpc_pick_unused_port a lot.
2016-05-13 15:24:17 -07:00
Craig Tiller 52237e3a96 clang-format 2016-05-13 14:37:25 -07:00
Craig Tiller 63d24f1c7d Make qps workers connect before even warmup stage begins 2016-05-13 14:36:09 -07:00
Vijay Pai b4cb249107 steaming -> streaming 2016-05-12 09:28:15 -07:00
Yuchen Zeng f86bbdefc9 Merge pull request #6373 from y-zeng/server-builder-plugin
Server builder plugin
2016-05-11 17:26:29 -07:00
Jorge Canizales 86803d1dea Merge pull request #6470 from yang-g/error_with_trailer
Add a C++ test for server returning error with debug info in trailer.
2016-05-11 14:12:38 -07:00
Jan Tattermusch b85e9d43f0 fix formatting 2016-05-11 10:21:45 -07:00
Sree Kuchibhotla 088891119f Merge branch 'master' into server_channel_affinity 2016-05-11 08:35:25 -07:00
Jan Tattermusch d6dabf9e9d Merge pull request #6449 from sreecha/stress_client_reconnects
Interop/Stress client that is resilient to server restarts
2016-05-10 20:35:22 -07:00
Julien Boeuf 19cd009ec1 clang-format 2016-05-10 15:27:48 -07:00
Julien Boeuf bae6a4cb43 Merge branch 'master' of https://github.com/grpc/grpc into credentials_refactoring 2016-05-10 15:26:17 -07:00
Sree Kuchibhotla 8dbe2cb071 Merge branch 'master' into server_channel_affinity 2016-05-10 10:33:25 -07:00
yang-g 39e71c33d1 fix compiling error 2016-05-10 10:21:41 -07:00
Jan Tattermusch fffd296bc5 Merge pull request #6279 from dgquintas/lb_proto_v1
Updated load balancer proto to v1
2016-05-10 10:15:42 -07:00
Yuchen Zeng 26a1785cfc Resolve conflicts 2016-05-06 15:50:15 -07:00
Yuchen Zeng 7d099a5c90 Fix naming and comment problems 2016-05-06 13:21:36 -07:00
yang-g 080528abb7 Add parsing back to protobuf example 2016-05-06 13:12:00 -07:00
Sree Kuchibhotla 4f5b2916cc fix clang formatting 2016-05-06 10:48:17 -07:00
yang-g 4c07008610 Add a test for server returning error with debug info in trailer. 2016-05-05 23:35:20 -07:00
David Garcia Quintas 303d3082a0 Fixed compression interop and re-enable for C++.
Also added some defense in depth for compression algorithms in the
receive path.
2016-05-05 18:26:13 -07:00
Jan Tattermusch a21c7e9207 add support for scenario categories 2016-05-05 18:10:35 -07:00
Sree Kuchibhotla c5549fcd0a Remove redundant error check 2016-05-05 16:12:54 -07:00
Sree Kuchibhotla 5130427b30 Add remaining inteorp tests to stress client 2016-05-05 15:39:36 -07:00
Sree Kuchibhotla ad0f792254 Interop client that is resilient to server restarts 2016-05-05 15:39:36 -07:00
Julien Boeuf 8ca294e417 Refactoring the core security code.
As opposed to a flat directory, we now have the following structure:

- security
  -context
  - credentials
    - composite
    - fake
    - google_default
    - iam
    - jwt
    - oauth2
    - plugin
    - ssl
  - transport
  - util

We have not refactored the test code yet but this PR is already large
enough...
2016-05-04 15:51:28 -07:00
Craig Tiller e4d2748f2f Fix async_end2end_test flow control
Completion queues + flow control + single threading is hard.

We need a read outstanding on a call to grant flow control tokens to the
remote end.

To do that we need to request a read *before* we wait for the write to
be finished, otherwise, in the case of a large write we'll block waiting
for flow control tokens.

Built on #6402
2016-05-03 12:19:33 -07:00
Yuchen Zeng 3b8f3354de Add plugins at the time of static initialization 2016-05-03 12:18:13 -07:00
Craig Tiller 5f51757f39 Merge github.com:grpc/grpc into large_async_secure_and_fixed 2016-05-03 09:53:13 -07:00
Sree Kuchibhotla b69251c2f6 Merge branch 'master' into server_channel_affinity 2016-05-03 09:33:13 -07:00
Vijay Pai d7b1e704a8 Cover large message sent securely or insecurely over async 2016-05-02 15:10:21 -07:00
Vijay Pai df8b62cea7 Add coverage for secure async end2end testing 2016-05-02 14:34:24 -07:00
Jan Tattermusch e88030a2c2 Merge pull request #6340 from ctiller/fail_fast_breaks_qps
Disable fail fast for qps driver
2016-05-02 14:26:52 -07:00
Yuchen Zeng c049035bed Add GRPC_ prefix for macros 2016-04-29 14:05:08 -07:00
Yuchen Zeng 018bf1a864 modified has_async_methods and has_sync_methods of TestServerBuilderPlugin 2016-04-29 13:39:17 -07:00
Yuchen Zeng a42ec21341 Server builder plugin 2016-04-29 13:05:36 -07:00
Sree Kuchibhotla a2b549578f Merge branch 'master' into server_channel_affinity 2016-04-29 11:01:37 -07:00
Craig Tiller 97244d5810 clang-format, make code more self-documenting 2016-04-29 08:05:57 -07:00
Craig Tiller 5c123fd22b Add a shard channel arg to client channel construction
C core automatically shares subchannels between channels. Therefore our
multiple channel performance tests were really testing single channel
performance.
2016-04-28 20:48:24 -07:00
Craig Tiller b6e4440880 Disable fail fast for qps driver 2016-04-28 08:21:52 -07:00
Sree Kuchibhotla cfa6401328 Merge branch 'master' into server_channel_affinity 2016-04-27 15:03:02 -07:00
Sree Kuchibhotla f5266d31c8 Merge branch 'master' into stress_test_misc 2016-04-27 15:02:40 -07:00
yang-g 6b16aaae96 merge and resolve conflict 2016-04-26 16:23:53 -07:00
Sree Kuchibhotla 44b9cd7584 Fix the sanity error reported by check_sources_and_headers.py 2016-04-26 12:15:48 -07:00
Sree Kuchibhotla 8c065a7b22 clang format 2016-04-26 12:11:42 -07:00
Sree Kuchibhotla 30499760db Merge branch 'master' into server_channel_affinity 2016-04-26 11:27:14 -07:00
David Garcia Quintas 7f0793ad62 Updated load balancer proto to v1 2016-04-25 16:48:26 -07:00
Sree Kuchibhotla 3714e302c0 Simplify QPS Metrics collection 2016-04-22 10:17:28 -07:00
Nicolas Noble 241dea56c8 Merge pull request #6147 from ctiller/strong-includes
Rollup of changes from latest import
2016-04-21 18:59:06 -07:00
Craig Tiller 7beea147e5 Merge github.com:grpc/grpc into strong-includes 2016-04-21 17:07:36 -07:00
Sree Kuchibhotla 1f5e262589 Add the option of adding a non-listening server completion queue. This makes writing certain test cases (like hybrid_end2end tests) easier 2016-04-21 12:28:15 -07:00
Vijay Pai dfdfe26958 Make sure that there is at least one scenario, otherwise indicates malformed
input
2016-04-21 11:38:31 -07:00
yang-g e291402306 Merge remote-tracking branch 'upstream/master' into proto_comments 2016-04-20 16:38:26 -07:00
Vijay Pai 8909428a1a clang-format 2016-04-20 14:21:30 -07:00
vjpai 92abf1cfd4 Merge branch 'master' into qps_driver_youre_fired 2016-04-20 13:06:25 -07:00
vjpai 1f13c820ed Eliminate unused source file 2016-04-20 13:04:35 -07:00
vjpai 29089c7b41 Deprecation of qps_driver and use of shell scripts, in progress 2016-04-20 12:38:16 -07:00
vjpai 87bac959ee Eradicate Uniform, Deterministic, and Pareto interarrival
distributions since we don't use them and it's not sensible
to add them
2016-04-20 09:35:35 -07:00
Jan Tattermusch e9a8d89dc2 fix formatting 2016-04-15 15:38:17 -07:00
Jan Tattermusch 33c161dffa populate ScenarioResult.summary in JSON report 2016-04-15 14:53:54 -07:00
yang-g 2e08941a37 Use the comments before syntax line as file comments. 2016-04-15 10:46:41 -07:00
Jan Tattermusch 6321cec58e fix formatting 2016-04-14 20:00:29 -07:00
Jan Tattermusch 453442eefb fix formatting 2016-04-14 18:05:42 -07:00
yang-g 8282b755a2 Clarify the comments 2016-04-14 17:13:24 -07:00
yang-g b8aa58b2cd Add a test 2016-04-14 15:53:45 -07:00
Jan Tattermusch 969ffaf5c6 Enable JSON reports for qps drivers 2016-04-14 13:13:25 -07:00
Jan Tattermusch f2ba7fe037 integrate ScenarioResult proto into qps driver 2016-04-14 13:13:25 -07:00
Craig Tiller 8f98e0b9dd Add missing file 2016-04-11 23:39:12 -07:00
Craig Tiller aef1ebe8f9 Merge github.com:grpc/grpc into strong-includes 2016-04-11 20:13:08 -07:00
Craig Tiller 3ab2fe0094 Rollup of changes from the latest import 2016-04-11 20:11:18 -07:00
David Garcia Quintas 3a43cc06a8 Added codegen_test_full
Which makes sure target that depend on both codegen and grpc build.
2016-04-08 16:59:51 -07:00
Craig Tiller 0bda0b3e55 Configure performance scenarios with json
Run those json configurations as part of presubmits
2016-04-06 10:14:44 -07:00
Nicolas Noble e3e91a3d3f Merge pull request #6033 from ctiller/channel_max_reconnect_backoff
Channel max reconnect backoff
2016-04-05 13:37:46 -07:00
Craig Tiller eb9b6dbf11 Merge branch 'master' into ignore_connectivity 2016-04-04 23:28:28 -07:00
Craig Tiller 8e3b16cfd9 Merge github.com:grpc/grpc into channel_max_reconnect_backoff 2016-04-04 13:50:38 -07:00
Nicolas Noble abcebb0798 Merge pull request #5419 from ctiller/cleaner-posix2
Move all event handling code behind one grand unified interface
2016-04-01 15:20:50 -07:00
Craig Tiller 75dbc1eb67 Fixes 2016-04-01 13:01:26 -07:00
Craig Tiller 399b3c42de Fix client_crash_test, implement idempotency, fail_fast for C++ 2016-04-01 12:24:18 -07:00
Jan Tattermusch 8cddd87738 Merge pull request #6005 from sreecha/stress_exit_codes
Terminate with error exit code in case of any failure
2016-04-01 07:27:03 -07:00
Craig Tiller 1a2c5aa9ef Merge github.com:grpc/grpc into cleaner-posix2 2016-04-01 07:18:35 -07:00
Jan Tattermusch 4da87600dc Merge pull request #6041 from vjpai/i_know_virtual_destructors
Add virtual destructor to satisfy a requirement of some compilers
2016-03-31 17:54:43 -07:00
Craig Tiller 4c43ed325c Merge github.com:grpc/grpc into cleaner-posix2 2016-03-31 13:12:41 -07:00
Craig Tiller 31efd7e864 Merge github.com:grpc/grpc into copyright-fix 2016-03-31 11:08:13 -07:00
Craig Tiller 8479c972e4 Merge github.com:grpc/grpc into cleaner-posix2 2016-03-31 10:26:53 -07:00
Sree Kuchibhotla b538472a8a Merge branch 'master' into stress_exit_codes 2016-03-31 09:59:54 -07:00
Sree Kuchibhotla fefc916b80 Merge branch 'master' into stress_exit_codes 2016-03-31 09:58:48 -07:00
Sree Kuchibhotla 16dd3e46e8 Reduce log verbosity of stress_test client by default. Correct a typo 2016-03-31 09:46:20 -07:00
Vijay Pai 62bc488c12 Merge branch 'master' into i_know_virtual_destructors 2016-03-31 09:35:51 -07:00
vjpai bd06e441cc Add virtual destructor to satisfy a requirement of some compilers 2016-03-31 09:33:51 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller 076c2b807b Merge github.com:grpc/grpc into channel_max_reconnect_backoff 2016-03-30 17:12:29 -07:00
Craig Tiller e50d7be28c Merge github.com:grpc/grpc into cleaner-posix2 2016-03-30 08:34:37 -07:00
Craig Tiller 6771361fad Merge github.com:grpc/grpc into optionalize_roundrobin 2016-03-30 08:05:58 -07:00
Craig Tiller f45496fdb0 Fix include path 2016-03-30 07:41:19 -07:00
Vijay Pai 98f2f754b8 Used TYPED_TEST to parametrize
Include all 4 sync/async client/server combos
2016-03-29 00:54:11 -07:00
Vijay Pai 40d1a2cb87 clang-format 2016-03-29 00:38:09 -07:00
Vijay Pai bbbbf621e4 Add a concurrent test for sync client, async server case 2016-03-29 00:35:26 -07:00
Craig Tiller 14e0d9862f Begin optionalizing lb policies: initial code movement 2016-03-28 17:11:26 -07:00
Craig Tiller 8a03448a8c Merge github.com:grpc/grpc into cleaner-posix2 2016-03-28 16:09:04 -07:00
Craig Tiller b7f3f6eec4 Fix copyright 2016-03-25 17:13:09 -07:00
Craig Tiller 9533d042d4 Fix includes 2016-03-25 17:11:06 -07:00