Commit Graph

325 Commits

Author SHA1 Message Date
David Garcia Quintas 560875239e c++ client & server changes to bring code up to spec 2016-06-16 16:52:11 -07:00
David Garcia Quintas 34f1b555ae better test_case flag help formating 2016-06-16 16:51:20 -07:00
Vijay Pai b31a9a0900 Include <cinttypes> for PRIuPTR. Not clear why this is needed. 2016-06-16 07:50:20 +00:00
Vijay Pai b9e927afcc Merge branch 'master' into wheezy 2016-06-15 22:57:21 -07:00
Vijay Pai 9aa5f23645 Switch out a using with a typedef 2016-06-15 10:50:23 -07:00
Yuchen Zeng beaa35724c Fix type mismatch for type_size 2016-06-10 15:46:14 -07:00
Yuchen Zeng 0ba114408e Fix gpr_log format mismatches in c++ tests 2016-06-10 15:15:44 -07:00
Makarand Dharmapurikar 509246f59b implement interval_us functionality
Implemented ability to sleep before sending response as intended
by the ResponseParameters proto.
2016-06-09 16:28:02 -07:00
David Garcia Quintas 74686ce7c4 Completed interop spec, as well as code for c++ 2016-06-09 15:33:33 -07:00
David Garcia Quintas 485cf40ab7 Fixed wrong spec and reworked streaming compressed case 2016-06-08 13:35:25 -07:00
David Garcia Quintas 20d802db98 removed unused vble 2016-06-07 22:04:10 -07:00
David Garcia Quintas 126ae106d6 fixed silly typo 2016-06-07 21:15:05 -07:00
David Garcia Quintas d3ce0218d1 disabled bogus checks for streaming compressed 2016-06-07 18:45:21 -07:00
David Garcia Quintas 5756c8fead removed RANDOM and simplified req for compression 2016-06-07 18:00:44 -07:00
Jan Tattermusch 54140f9760 Merge pull request #6608 from yang-g/interop
Assert we get a valid creds.
2016-05-19 13:20:43 -07:00
Jan Tattermusch b9f11c3fa2 Merge pull request #6625 from sreecha/stress_test_misc
Misc changes to stress test framework (to reduce false positives and tools for debugging)
2016-05-18 18:41:35 -07:00
Jan Tattermusch aa51f63da3 Merge pull request #6463 from dgquintas/fix_compression_interop
Fixed compression interop and re-enable for C++.
2016-05-18 07:29:04 -07:00
Sree Kuchibhotla 4dd02fc63c Misc changes 2016-05-17 18:37:52 -07:00
Sree Kuchibhotla eaa3072744 Make the rpc timeout configurable 2016-05-17 17:18:23 -07:00
yang-g ed9ae72e7b Assert we get a valid creds. 2016-05-16 14:09:23 -07:00
Vijay Pai b4cb249107 steaming -> streaming 2016-05-12 09:28:15 -07:00
Sree Kuchibhotla 4f5b2916cc fix clang formatting 2016-05-06 10:48:17 -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
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
Sree Kuchibhotla 3714e302c0 Simplify QPS Metrics collection 2016-04-22 10:17:28 -07:00
Craig Tiller 8e3b16cfd9 Merge github.com:grpc/grpc into channel_max_reconnect_backoff 2016-04-04 13:50:38 -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
Sree Kuchibhotla 16dd3e46e8 Reduce log verbosity of stress_test client by default. Correct a typo 2016-03-31 09:46:20 -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 b7f3f6eec4 Fix copyright 2016-03-25 17:13:09 -07:00
Craig Tiller 9533d042d4 Fix includes 2016-03-25 17:11:06 -07:00
Craig Tiller 2e1903638e Fix copyrights 2016-03-25 14:33:26 -07:00
Craig Tiller f40df23eeb Auto-changes 2016-03-25 13:38:14 -07:00
David Garcia Quintas b942640497 clang-format 2016-03-08 16:25:11 -08:00
Aaron Isotton 24e69bf02a Added a channel argument to set the maximum reconnect backoff duration. Extended the interop test to test the custom reconnect backoffs.
This closes #5377.
2016-03-08 14:21:31 -08:00
Craig Tiller 2d9476898b Revert "Ensure that no #includes are inside of a namespace." 2016-03-04 11:05:42 -08:00
David Garcia Quintas 2a8c280370 sanity 2016-03-02 20:52:34 -08:00
David Garcia Quintas eef5c01cf4 clang-format 2016-03-02 20:38:49 -08:00
David Garcia Quintas 94c80d8389 copyrights 2016-03-02 20:35:07 -08:00
Craig Tiller c6611efb67 Revert "Update reconnect_interop_client.cc" 2016-03-02 17:43:09 -08:00
Yang Gao f7d6d3821a Merge pull request #5539 from grpc/makdharma-comment
Update reconnect_interop_server.cc
2016-03-02 21:56:22 +00:00
makdharma 38a560b6ba Update reconnect_interop_server.cc 2016-03-02 13:50:58 -08:00
makdharma bd50f305a3 Update reconnect_interop_client.cc 2016-03-02 13:49:51 -08:00
Jan Tattermusch 8ba6a6b321 Merge pull request #5402 from sreecha/stress_test_scripts
Stress test scripts to launch in GKE
2016-02-29 15:01:54 -08:00
Sree Kuchibhotla e1dd18a945 Fix copyright 2016-02-29 13:28:55 -08:00
Sree Kuchibhotla 44ca2c2640 Examples 2016-02-23 10:03:00 -08:00
Craig Tiller 521423c8cf Regenerate files, fix bugs 2016-02-22 22:22:22 -08:00
Craig Tiller 732a875fe8 Add a sanity test for name aliasing 2016-02-22 15:59:19 -08:00
Makarand Dharmapurikar bfc7adaa71 Added option to echo back user agent for testing 2016-02-22 15:42:18 -08:00
yang-g 364be644d0 copyright of course 2016-02-22 10:04:43 -08:00
yang-g c10348a555 Add custom_metadata test case 2016-02-19 16:05:10 -08:00
murgatroid99 3466c4b55d Updated copyrights 2016-01-12 10:26:04 -08:00
Craig Tiller 7cc0f464d1 Merge github.com:grpc/grpc into proto_names 2016-01-07 16:37:03 -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
Craig Tiller 7536af02cf Eliminate gpr_ int types - and insist on C99 variants instead 2015-12-22 13:49:30 -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 a2b7817481 Removed compression checks from vanilla large unary 2015-12-15 22:35:08 -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
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
Sree Kuchibhotla 52a514a250 Address code review comments 2015-11-19 10:28:47 -08:00
Sree Kuchibhotla 87f51663ee Merge branch 'master' into stress_tests_metrics 2015-11-19 08:48:56 -08:00
yang-g 71b962634e merge with head 2015-11-18 11:41:30 -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 6049ebd8d2 More C++ fixes (the merge did not quite work...). 2015-11-17 16:53: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
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 b047c0fc9b Address code review comments 2015-11-16 14:41:04 -08: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
Sree Kuchibhotla c36b480ce9 Fix a small error 2015-11-04 14:25:05 -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
Craig Tiller 93b944785c stream_op cleanup: test fixes and updates 2015-11-02 14:18:30 -08: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 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
Sree Kuchibhotla 728a6104d5 Interop stress tests 2015-10-16 10:56:31 -07:00
Julien Boeuf e5adc0eb67 Fixing Cpp tests. 2015-10-12 14:09:13 -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
David Garcia Quintas 0c331880d0 Hid test-only functions from surface/call.h 2015-10-08 14:57:11 -07:00
yang-g a006b5f33b change default value of use_test_ca 2015-10-07 13:14:35 -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
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
yang-g 035cf093de enable_ssl to use_tls 2015-10-01 11:39:24 -07:00
Craig Tiller 71a0f9d3b0 Fix clang-format script 2015-09-28 17:22:01 -07:00
Craig Tiller ddf3a511aa Add clang-format to sanity 2015-09-24 13:03:44 -07:00
yang-g 78bddc66b7 Add empty_stream test case 2015-09-21 10:32:17 -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
Julien Boeuf 0d47192afa Fixing headers and paths after merge with upstream. 2015-08-30 22:18:50 -07:00
Julien Boeuf 5be92a316d Shuffling headers around. 2015-08-28 16:28:18 -07:00
Julien Boeuf 421738b529 Addressing comments, round 2. 2015-08-27 16:34:44 -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
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
David Garcia Quintas 04ecfa1ad7 Added missing payloads to streaming compressed test 2015-08-25 14:19:48 -07:00
yang-g 9e2f90cd06 headers reorg 2015-08-21 15:35:03 -07:00
yang-g 961eeb0b44 Merge remote-tracking branch 'upstream/master' into docs 2015-08-20 12:18:28 -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
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
David Garcia Quintas 81491b6043 Removed function introducing dependency on proto in .h 2015-08-18 16:46:53 -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
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
yang-g f6befe8690 update the interop test protos and code to proto3 2015-08-13 13:51:53 -07:00
David Garcia Quintas 93dfab9c6e Make sure COMPRESSABLE is the default for LargeUnary 2015-08-13 11:29:50 -07:00
David Garcia Quintas ba86dc0cbe Removed spurious line that forced COMPRESSABLE for large unaries 2015-08-13 10:01:12 -07:00
David Garcia Quintas 616b375e35 Merged PerformLargeCompressedUnary into PerformLargeUnary 2015-08-11 15:21:02 -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
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
Abhishek Kumar e1c867dbee Added interop test for status_code_with_message 2015-08-05 11:04:45 -07:00
yang-g dc71eeba7b remove braces 2015-07-30 11:49:52 -07:00
yang-g 3d769d7f23 notify inside lock 2015-07-30 09:57:12 -07:00
yang-g 19e9c09700 merge with upstream 2015-07-28 09:30:20 -07:00
yang-g 4f61528b96 Support two clients calling start simultaneously 2015-07-27 15:48:46 -07:00
yang-g c9c69e27da Add reconnect interop test client and server 2015-07-24 14:38:26 -07:00
David Garcia Quintas 7c0d914cce wip for accept-encoding into tests 2015-07-23 04:58:20 -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
David Garcia Quintas 80f3995e47 wip 2015-07-21 16:07:36 -07: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
yang-g ba5f98081a Merge remote-tracking branch 'upstream/master' into per_call_oauth_creds_impl 2015-07-20 09:39:51 -07:00
yang-g 5e7e55b957 Merge with head and resolve conflict 2015-07-17 22:15:12 -07:00
yang-g 463cde7cf9 update according to spec change 2015-07-17 15:21:39 -07:00
Craig Tiller eec373c555 Merge pull request #2413 from dgquintas/interop_sniffer
Introduced InteropContextInspector
2015-07-17 11:30:57 -07:00
David Garcia Quintas 6dd49a5c8f Added some methods to context inspector. Also minor tweak to server context IsCancelled() method 2015-07-15 14:58:32 -07:00
David Garcia Quintas e410986635 clang-format'd. 2015-07-15 14:10:48 -07:00
yang-g 8c31ee2751 update according to spec change 2015-07-15 13:36:27 -07:00
yang-g 5bf510bba1 add per_rpc_creds test case in interop test 2015-07-14 10:54:29 -07:00