aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
Commit message (Collapse)AuthorAge
* Splitting grpc_test_util into gpr_test_util.Gravatar nnoble2015-01-12
| | | | | | | Change on 2015/01/12 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83801564
* Return bound port number from grpc_server_add_http2_port.Gravatar ctiller2015-01-12
| | | | | | | | Allows tests to bind to port 0 and still have clients connect to them. Change on 2015/01/12 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83800669
* grpc census hash_table test coverage improvements.Gravatar hongyu2015-01-12
| | | | | | | Change on 2015/01/12 by hongyu <hongyu@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83786701
* Make interop server buildable on opensource build.Gravatar yangg2015-01-12
| | | | | | | Change on 2015/01/12 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83783816
* Ensure flow control callbacks happen outside the transport lock.Gravatar ctiller2015-01-12
| | | | | | | | | | | | | | Split encoding into two phases: a collection phase to decide on what is allowed (by flow control) to be sent, and a framing phase when the data is actually sent. Perform the second phase outside of the transport mutex (but serially, guarded by t->writing) and make flow control callbacks during that phase. This will allow us to make further transport level calls in response to flow control callbacks, and will be needed by the forthcoming async api for C++. Change on 2015/01/12 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83774409
* Add impl subdirectory under public and move headers that need to be installedGravatar yangg2015-01-12
| | | | | | | | to it. Change on 2015/01/09 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83640373
* Allow logging mechanism to be overridden by applications.Gravatar ctiller2015-01-12
| | | | | | | | This necessitated the removal of gpr_vlog to keep a clean interface. Change on 2015/01/09 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83634996
* Add ServiceAccount Credentials wrapping and handle credentials creationGravatar yangg2015-01-12
| | | | | | | | failure. Change on 2015/01/09 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83634736
* Grpc census: v0 trace_printf() implementation in C.Gravatar hongyu2015-01-12
| | | | | | | Change on 2015/01/09 by hongyu <hongyu@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83626942
* Merge github.com:google/grpcGravatar Nicolas Noble2015-01-09
|\
* | Fix test under msanGravatar ctiller2015-01-09
| | | | | | | | | | | | | | Change on 2015/01/09 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83609353
* | Add a test to export two TestService on the same server, only with differentGravatar yangg2015-01-09
| | | | | | | | | | | | | | | | | | | | package names. Make sure they work as intended. This is based on [] Change on 2015/01/08 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83558743
* | C implementation of Census trace store and stats store for grpc C lib.Gravatar hongyu2015-01-09
| | | | | | | | | | | | | | Change on 2015/01/08 by hongyu <hongyu@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83556470
* | Enable streaming test case for gRPC client in GCE.Gravatar chenw2015-01-09
| | | | | | | | | | | | | | Change on 2015/01/08 by chenw <chenw@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83549959
* | Remove libevent.Gravatar ctiller2015-01-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed any exposed bugs across the stack. Add a poll() based implementation. Heavily leverages pollset infrastructure to allow small polls to be the norm. Exposes a mechanism to plug in epoll/kqueue for platforms where we have them. Simplify iomgr callbacks to return one bit of success or failure (instead of the multi valued result that was mostly unused previously). This will ease the burden on new implementations, and the previous system provided no real value anyway. Removed timeouts on endpoint read/write routines. This simplifies porting burden by providing a more orthogonal interface, and the functionality can always be replicated when desired by using an alarm combined with endpoint_shutdown. I'm fairly certain we ended up with this interface because it was convenient to do from libevent. Things that need attention still: - adding an fd to a pollset is O(n^2) - but this is probably ok given that we'll not use this for multipolling once platform specific implementations are added. - we rely on the backup poller too often - especially for SSL handshakes and for client connection establishment we should have a better mechanism ([] [] - Linux needs to use epoll for multiple fds, FreeBSD variants (including Darwin) need to use kqueue. ([] [] - Linux needs to use eventfd for poll kicking. ([] Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83461069
* | Add a --forever flag, to continuously run tests as things change.Gravatar ctiller2015-01-09
| | | | | | | | | | | | | | Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83451760
| * Fix a compiler warning.Gravatar Craig Tiller2015-01-09
|/
* Remove libevent.Gravatar ctiller2015-01-08
| | | | | | | | | | | | | | | | | | | | | | | Fixed any exposed bugs across the stack. Add a poll() based implementation. Heavily leverages pollset infrastructure to allow small polls to be the norm. Exposes a mechanism to plug in epoll/kqueue for platforms where we have them. Simplify iomgr callbacks to return one bit of success or failure (instead of the multi valued result that was mostly unused previously). This will ease the burden on new implementations, and the previous system provided no real value anyway. Removed timeouts on endpoint read/write routines. This simplifies porting burden by providing a more orthogonal interface, and the functionality can always be replicated when desired by using an alarm combined with endpoint_shutdown. I'm fairly certain we ended up with this interface because it was convenient to do from libevent. Things that need attention still: - adding an fd to a pollset is O(n^2) - but this is probably ok given that we'll not use this for multipolling once platform specific implementations are added. - we rely on the backup poller too often - especially for SSL handshakes and for client connection establishment we should have a better mechanism ([] [] - Linux needs to use epoll for multiple fds, FreeBSD variants (including Darwin) need to use kqueue. ([] [] - Linux needs to use eventfd for poll kicking. ([] Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83461069
* Fixing include paths for cmdline.Gravatar nnoble2015-01-07
|
* Add deadline API on server side.Gravatar yangg2015-01-06
| | | | | | | Change on 2015/01/06 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83351442
* Adding plugins to the mako rendering system.Gravatar nnoble2015-01-06
| | | | | | | Change on 2015/01/05 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83302581
* Seed random numbers in each process based on pid.Gravatar ctiller2015-01-05
| | | | | | | | | | This causes get_unused_port_or_die to try different port numbers in each concurrently running tests, and consequently enables some parallelism of test processes. Change on 2015/01/05 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83289374
* Fix the socket pair fixtures to include the http filters.Gravatar klempner2014-12-29
| | | | | | | | | Without this these tests start failing if the server starts checking that it received the necessary headers. Change on 2014/12/23 by klempner <klempner@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82748741
* Add Flags to override host and enable prod ssl root.Gravatar chenw2014-12-29
| | | | | | | Change on 2014/12/22 by chenw <chenw@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82679415
* Add SSL root for production GFE.Gravatar chenw2014-12-29
| | | | | | | Change on 2014/12/19 by chenw <chenw@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82554526
* Port [] alarm management to GRPC.Gravatar ctiller2014-12-29
| | | | | | | | | | | | | This change implements a platform independent alarm manager in alarm.c. It's integrated with iomgr, and some tests are cleaned up. The alarm implementation itself is a fairly direct port of LazyAlarmList from eventmanager. SpinLock has been replaced for now with gpr_mu, and other atomic operations have been dropped (again, for now). A majority of tests have been ported. Change on 2014/12/19 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82551363
* Adding support for service account credentials.Gravatar jboeuf2014-12-29
| | | | | | | | | | - Tested end to end with a JSON key I generated for my account using the fetch_oauth2 binary. - The same fetch_oauth2 binary can get a token from the GCE metadata service on a VM in cloud. Change on 2014/12/19 by jboeuf <jboeuf@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82548689
* Make override hostname an argument for testing against prod gfe.Gravatar yangg2014-12-29
| | | | | | | Change on 2014/12/19 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82544544
* Client side implementation of creating channel with credentials.Gravatar yangg2014-12-29
| | | | | | | | | The old test_ssl_channel related code is deleted and the new create channel call is used for interop tests. Change on 2014/12/19 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82540921
* Add a test where client side sees a deadline expired status.Gravatar yangg2014-12-19
| | | | | | | | The test is not completely right and I filed [] to track it. Change on 2014/12/18 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82442464
* Fix opensource build test.Gravatar ctiller2014-12-19
| | | | | | | | | | | | | It's a string of unit tests, so size should actually be small. Setting timeout to long means we have 15 minutes to test everything, which should fit for now. Also fixes a compile error. Once this goes in, TAP should start running our tests again. Change on 2014/12/17 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82395309
* gRPC: Avoid AF_INET6 sockets when the ::1 loopback address doesn't exist.Gravatar pmarks2014-12-19
| | | | | | | | | | | On Linux with disable_ipv6=1, we can create sockets bound to [::]:port, yet connecting to that address triggers an Unreachable error. Since IPv6 is useless on such machines, it's cleaner to turn it off than expose users to a half-broken state. Change on 2014/12/17 by pmarks <pmarks@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82387437
* Set host to channel's target when creating a call.Gravatar yangg2014-12-19
| | | | | | | Change on 2014/12/17 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82377896
* Add ServerContext. It is currently empty and deadline and metadata will come toGravatar yangg2014-12-19
| | | | | | | | it in subsequent cl's. Change on 2014/12/17 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82372934
* Fix include guards.Gravatar ctiller2014-12-17
| | | | | | | Change on 2014/12/17 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82354016
* Prepare QPS tests for running in GCEGravatar vpai2014-12-17
| | | | | | | | | | | Edit build.json to include qps tests and credentials Perform required MOE edits for running qps tests in VM Minor changes to underlying source files to support issues like more restrictive warning flags in cloud. Change on 2014/12/17 by vpai <vpai@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82349829
* Remove endpoint/ directories.Gravatar ctiller2014-12-17
| | | | | | | | | | Fold endpoint interface into iomgr, move secure_endpoint into security/. This will make it easier for endpoint to rely on some iomgr defined types (like pollset). Change on 2014/12/17 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82338036
* Adding JWT generation and signing code for service accounts credentials.Gravatar jboeuf2014-12-16
| | | | | | | Change on 2014/12/16 by jboeuf <jboeuf@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82279249
* Add slow client consumer test case for flow control test.Gravatar chenw2014-12-16
| | | | | | | | The client will sleep 500 milliseconds before read next message in reponse streaming. Change on 2014/12/16 by chenw <chenw@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82265748
* Make alarm initialization take a timespec now.Gravatar ctiller2014-12-16
| | | | | | | | | This will allow combining of gpr_now() calls, and make it easier to test the alarm code in the future. Change on 2014/12/16 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82246768
* Remove a (very) deprecated file.Gravatar ctiller2014-12-16
| | | | | | | Change on 2014/12/15 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82201880
* Trailing metadata support.Gravatar ctiller2014-12-16
| | | | | | | | | Actually exposing it from the C API. Also removing grpc_status, since it's mostly useless. Change on 2014/12/15 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82180546
* GOAWAY & Reconnection support.Gravatar ctiller2014-12-15
| | | | | | | | | | | | Clients stay connected to a server after it shutdowns until all active calls have completed, and then they drop. After a GOAWAY or a disconnect, clients will attempt to re-resolve and reconnect to the server. Change on 2014/12/15 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82178515
* Add time averaged stats for future alarm list work.Gravatar ctiller2014-12-15
| | | | | | | | | This is a trivial C89-ification of the []2 implementation of the same idea. Indeed the implementation files and tests have been branched from the [] versions. Change on 2014/12/15 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82168822
* Simplify alarm API.Gravatar ctiller2014-12-15
| | | | | | | | | This change removes a corner case that needs to be handled (what happens if you add an alarm twice?). This corner case was never used, nor tested. Change on 2014/12/15 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82168179
* Fix a bug in base-log, and add test.Gravatar aveitch2014-12-15
| | | | | | | | | | | The tests compute usable space in the log, but do so using subtraction on unsigned values and did not correctly account for number of blocks used per-core. This could lead underflow, and an incorrect space calculation. In addition, testing showed that with current defaults, tests would fail on a system with > ~64 cores. This can be alleviated through use of a larger log. An explicit check in the log initialization has been added for this case, and the log size increased if necessary. Change on 2014/12/15 by aveitch <aveitch@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82154432
* Add a test for useful.h.Gravatar ctiller2014-12-15
| | | | | | | | | Additionally add rotl, rotr which will be needed to implement some hashing functions shortly. Change on 2014/12/15 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82149559
* Change the low level ping pong benchmark to run all tests by default.Gravatar klempner2014-12-15
| | | | | | | Change on 2014/12/12 by klempner <klempner@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82026092
* Binary header encoding.Gravatar ctiller2014-12-15
| | | | | | | | Also fixes a rather embarrassing bug in bin_encoder.c. Change on 2014/12/12 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82024795
* Use '\0' instead of '0' in payload as java client actually checks that.Gravatar yangg2014-12-15
| | | | | | | Change on 2014/12/12 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82023559