Commit Graph

193 Commits

Author SHA1 Message Date
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
David Garcia Quintas 8d9f830168 Introduced InteropContextInspector to be able to peek into server contexts during interop testing. 2015-07-13 16:18:19 -07:00
yang-g be5f059219 Add oauth2_auth_token test case in interop test 2015-07-13 11:11:50 -07:00
yang-g 69563b9124 Add timeout interop test case 2015-07-10 15:32:11 -07:00
Yang Gao c1a2c314fb Update the Status API 2015-06-16 10:59:46 -07:00
Masood Malekghassemi 701af6031f Expose gpr_asprintf and gpr_strdup 2015-06-03 15:24:24 -07:00
Xudong Ma a5861f3414 Correct the test request/response size, to be consistent with the test spec:https://github.com/grpc/grpc/blob/master/doc/interop-test-descriptions.md 2015-05-26 15:24:11 -07:00
Yang Gao a89389283f support per call credentials in c++ 2015-05-14 11:51:07 -07:00
Craig Tiller c8667056d5 Merge pull request #1367 from yang-g/interop
Add two scenarios in interop test
2015-04-28 17:09:56 -07:00
Yang Gao 68d615737b Add two scenarios in interop test 2015-04-24 14:42:42 -07:00
Nicolas "Pixel" Noble fd2bf675f7 Merge branch 'master' of github.com:grpc/grpc into the-purge-2
Conflicts:
	include/grpc++/completion_queue.h
2015-04-24 23:24:44 +02:00
Yang Gao c4b6ffb1b6 Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free. 2015-04-24 13:09:40 -07:00
Nicolas "Pixel" Noble 23be280366 Merge branch 'master' of github.com:grpc/grpc into the-purge-2
Conflicts:
	src/cpp/client/channel.cc
	vsprojects/vs2010/grpc++.vcxproj
	vsprojects/vs2013/grpc++.vcxproj.filters
2015-04-24 00:38:19 +02:00
Abhishek Kumar 60572d422b Move .proto files up for reuse 2015-04-16 20:45:25 -07:00
Abhishek Kumar 1b3e3cd75b Moving test.proto to an outer directory so others can depend on it. 2015-04-16 20:10:29 -07:00
Nicolas Noble d35b7107f8 Merge pull request #1291 from yang-g/headers
Wrap ParseCommandLineFlags in InitTest
2015-04-16 15:50:58 -07:00
Yang Gao 103837ee6b Wrap ParseCommandLineFlags in InitTest 2015-04-15 15:23:54 -07:00
Yang Gao eaccf90aef Return 1 when test_case is not supported in interop test 2015-04-15 14:05:07 -07:00
Nicolas "Pixel" Noble b7c2035e83 Merge branch 'master' of https://github.com/grpc/grpc into the-purge-2
Conflicts:
	test/cpp/end2end/async_end2end_test.cc
	test/cpp/end2end/end2end_test.cc
	test/cpp/interop/client.cc
2015-04-11 01:53:09 +02:00
Yang Gao a40020788f Split interop client and server into components 2015-04-09 23:25:21 -07:00
Nicolas "Pixel" Noble 0caebbfcfe Splitting gRPC service class codegen into its own set of files. 2015-04-09 23:08:51 +02:00
Nicolas "Pixel" Noble a05b8b7b25 Removing a few more references to #include <chrono> 2015-04-08 09:07:20 +02:00
Nicolas Noble 89219162dd Refactoring std::chrono out. 2015-04-08 05:42:08 +02:00
vjpai 6130809a8b Work around a compiler limitation caused by inability to properly handle
vectors created from initializer list
2015-03-26 17:12:17 -04:00
Jan Tattermusch 5e36d0d474 Merge pull request #1093 from nicolasnoble/windows
Various Windows fixes.
2015-03-19 10:29:47 -07:00
Yang Gao 1fc046902c sync to head and run clang-format again 2015-03-19 07:23:08 -07:00
Nicolas Noble cfd6073a66 Various Windows fixes.
-) using dupenv_s instead of getenv_s and calling strdup ourselves.
-) few impossible-to-obtain if checks.
-) various signed/unsigned casting.
-) using time_t instead of time32_t
-) checking output of FormatMessage for failures.
-) don't redefine _WIN32_WINNT without undefining it first.
-) fixed msvc's interlocked casting.
-) renamed AddPort to AddListeningPort.
-) added protobuf's third_party includes to search path.
-) added a missing definition for inet_ntop in mingw32.
-) removed useless declarations.
2015-03-19 04:21:22 +01:00
Yang Gao 3c220dfc32 Print out status when it is not ok in interop tests 2015-03-17 11:47:54 -07:00
Yang Gao 6baa9b67ad clang-format c++ code 2015-03-17 10:49:39 -07:00
Yang Gao 7d6b184f57 add a jwt test case for interop test 2015-03-11 14:51:50 -07:00
Yang Gao f859510340 Merge branch 'master' into jwt 2015-03-11 14:31:00 -07:00
Craig Tiller 61691f92c3 Merge github.com:grpc/grpc into credit 2015-03-02 08:51:52 -08:00
Yang Gao 25770b02d6 add jwt token creds test_case 2015-02-27 15:30:58 -08:00