Commit Graph

447 Commits

Author SHA1 Message Date
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
yang-g 17487f9a22 Make grpc++ independent of protobuf 2016-06-03 15:21:15 -07: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 c4c6ecf8e9 Merge github.com:grpc/grpc into test_affine 2016-05-23 12:48:55 -07: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
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
Julien Boeuf a4880374f9 Merge branch 'master' of github.com:grpc/grpc into credentials_refactoring 2016-05-18 22:12:43 -07:00
Craig Tiller 9766f4f424 Merge github.com:grpc/grpc into test_affine 2016-05-18 16:55:35 -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
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
Yuchen Zeng f86bbdefc9 Merge pull request #6373 from y-zeng/server-builder-plugin
Server builder plugin
2016-05-11 17:26:29 -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
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
yang-g 4c07008610 Add a test for server returning error with debug info in trailer. 2016-05-05 23:35:20 -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
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
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 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
Craig Tiller eb9b6dbf11 Merge branch 'master' into ignore_connectivity 2016-04-04 23:28:28 -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
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
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 e50d7be28c Merge github.com:grpc/grpc into cleaner-posix2 2016-03-30 08:34:37 -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 8a03448a8c Merge github.com:grpc/grpc into cleaner-posix2 2016-03-28 16:09:04 -07:00