Commit Graph

1086 Commits

Author SHA1 Message Date
Vijay Pai e32ef7acde Make timeout instant as well 2016-02-22 17:25:51 -08:00
Vijay Pai a412162e9e Merge branch 'master' into qa 2016-02-22 16:15:32 -08:00
Makarand Dharmapurikar bfc7adaa71 Added option to echo back user agent for testing 2016-02-22 15:42:18 -08:00
David G. Quintas 4f2745030d Merge pull request #5332 from yang-g/interop_echo_metadata
Add custom_metadata test case
2016-02-22 14:05:58 -08:00
yang-g 364be644d0 copyright of course 2016-02-22 10:04:43 -08:00
Craig Tiller fc6fec2a2d Merge pull request #5258 from vjpai/poll_override2
Avoid a race when overriding default poll function
2016-02-21 22:59:52 -08:00
yang-g c10348a555 Add custom_metadata test case 2016-02-19 16:05:10 -08:00
yang-g 12a0a2c20b move tls type name to .cc file 2016-02-19 00:22:20 -08:00
yang-g 4c8aed3dba Add a helper to return all the secure types 2016-02-19 00:19:39 -08:00
yang-g 17197ddc71 Revert "make an enum"
This reverts commit 5152cd29f8.
2016-02-19 00:04:22 -08:00
yang-g 5152cd29f8 make an enum 2016-02-18 16:37:51 -08:00
yang-g 7d2a3e1917 Refactor end2end_test. Make the credentials a separate library. 2016-02-18 15:41:56 -08:00
Vijay Pai 64e7875510 Should have a test for 0 and negative alarms to make sure that those make
it on to the CQ like any other.
2016-02-18 13:38:32 -08:00
David Garcia Quintas 1689990ff3 clang format 2016-02-17 18:32:17 -08:00
David Garcia Quintas 4105505b33 Fixed refactoring of grpc_arg pointer vtable 2016-02-17 18:23:15 -08:00
Sree Kuchibhotla ac94c430d2 Merge pull request #5186 from yang-g/inherit_from_grpc_library
Provide explicit API for user to set user agent string prefix
2016-02-17 15:51:57 -08:00
Vijay Pai 2815f184a3 Document variable names 2016-02-17 13:55:03 -08:00
Vijay Pai 8a2ff73640 Use more variables for better explanations 2016-02-17 09:21:10 -08:00
Vijay Pai ed3cd423b6 Use three different load-factors and document load-factor variable 2016-02-17 08:49:03 -08:00
Vijay Pai ee53dc5e08 Merge branch 'master' into loaded 2016-02-16 13:51:38 -08:00
Vijay Pai b65eda4c88 Make the poll override function assert on non-zero timeout if invoked
from the end2end test thread itself (done by adding a TLS on that thread)

Also clang-format
2016-02-16 13:49:22 -08:00
Vijay Pai 837c9bda1d Merge branch 'master' into poll_override2 2016-02-16 13:28:31 -08:00
Vijay Pai 018879aa9a Set up poll overrides 2016-02-16 09:20:50 -08:00
vjpai cf4daebe27 Comment the requirements for changing grpc_poll_function and do
poll overrides in such a way as to avoid polling races
2016-02-15 02:33:54 -08:00
Vijay Pai e40aefb829 Fix the timeout 2016-02-13 01:25:30 -08:00
Vijay Pai 8ca0faaf52 use timeouts with proper fixture multipliers rather than raw,
since tsan slows things down a lot and may complicate issues such
as shutdown.
2016-02-13 00:25:45 -08:00
Vijay Pai 8eef7e3b58 Merge branch 'master' into alarm_openloop 2016-02-12 18:11:28 -08:00
Vijay Pai 1a06082265 Add 70% load scenario for testing with open-loop 2016-02-12 17:34:08 -08:00
Vijay Pai c84cb3e00a Merge branch 'alarm_openloop' into loaded 2016-02-12 16:25:30 -08:00
Vijay Pai 6583176337 clang-format 2016-02-12 15:59:03 -08:00
vjpai 7914e62d48 Attack of the const police.
I also added some unrequested const's
2016-02-12 15:57:08 -08:00
yang-g a3c968d9c2 Merge remote-tracking branch 'upstream/master' into inherit_from_grpc_library 2016-02-12 14:54:16 -08:00
Craig Tiller a7d41147ea Merge github.com:grpc/grpc into bad_metadata 2016-02-12 10:13:52 -08:00
Craig Tiller c35e2c582f Revert "Proto API for LB request/responses" 2016-02-11 15:45:03 -08:00
Craig Tiller c3602dc1cf Merge pull request #4038 from dgquintas/grpclb_api
Proto API for LB request/responses
2016-02-11 15:32:22 -08:00
Vijay Pai 761bcb4a18 Cleanup to make it work with clang build 2016-02-11 11:59:04 -08:00
Vijay Pai 914455782f Sanity (clang-format and copyright) 2016-02-11 06:08:58 -08:00
Vijay Pai 1132c6b7db Simplify and properly implement openloop testing.
Revive it in tests as well
2016-02-11 06:05:24 -08:00
Vijay Pai d472ad2a7f Merge branch 'alarm_mods' into alarm_openloop 2016-02-11 05:37:18 -08:00
vjpai dbca72fb01 init test 2016-02-11 00:18:16 -08:00
vjpai 8fdafede06 tag fed in by user should be any arbitrary tag, not a CompletionQueueTag
type
2016-02-10 23:16:55 -08:00
vjpai 04e992a750 Make C++ alarm class usable and testable - there were some build issues and
it was not actually even included in the library or the test suite.
2016-02-10 16:58:38 -08:00
Vijay Pai 9982c6fc3a Fix random number generators and improve code style (stop using
operator overloads)
2016-02-10 14:55:33 -08:00
yang-g 1945ae4285 Fix copyright 2016-02-10 12:48:32 -08:00
yang-g d59ad7ef39 Provide explicit API for user to set user agent string prefix 2016-02-10 12:42:53 -08:00
David Garcia Quintas 7e46618897 Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-02-08 20:07:19 -08:00
Craig Tiller 45551e0c99 Fix sanity 2016-02-08 14:22:40 -08:00
Sree Kuchibhotla 001db590ff Modify the test to have large number of threads receiving the RPCs and a
smaller number of threads sending the RPCs. This increases the
likelyhood of race-conditions on receiving threads.
2016-02-08 10:57:41 -08:00
murgatroid99 7a55684a13 Clang format and fix copyrights 2016-02-05 11:33:30 -08:00
murgatroid99 309830f6b8 Replace 'long' with 'int64_t' in public core headers 2016-02-05 11:30:00 -08:00