Commit Graph

441 Commits

Author SHA1 Message Date
Vijay Pai ec06d677e2
Merge pull request #16681 from arrowd/master
Fix various tests on FreeBSD.
2019-04-10 14:16:36 -07:00
Bill Feng d93959853f Enabled Windows Bazel build for cpp tests 2019-03-21 18:00:48 -07:00
Yang Gao 2ee9795183
Merge pull request #18156 from mkbehr/interop-client-additional-metadata
Let the c++ interop_client send additional metadata, controlled by a flag.
2019-03-18 11:31:20 -07:00
Jan Tattermusch cf6a311761
Revert "Windows builds for gRPC C++ tests" 2019-03-15 17:15:20 +01:00
Michael Behr f2ba191dcc Merge remote-tracking branch 'upstream/master' into interop-client-additional-metadata 2019-03-14 15:30:29 -04:00
Michael Behr 7f6ed9267f Convert metadata flag keys to lowercase. 2019-03-14 15:27:15 -04:00
billfeng327 4241edeaa4 renamed tag to no_windows in conformation with Bazel and TensorFlow 2019-03-07 14:52:49 -08:00
billfeng327 928aedf5c8 Merge branch 'master' into update-deps-version 2019-03-06 15:48:29 -08:00
billfeng327 ab06853fc9 C++ Windows test builds 2019-03-06 15:47:49 -08:00
Michael Behr 1603242add Parse additional metadata flag manually instead of by regex 2019-03-06 12:39:22 -05:00
Michael Behr ddf7666fdf Merge remote-tracking branch 'upstream/master' into interop-client-additional-metadata 2019-02-27 12:07:54 -05:00
Michael Behr 0a53c2ed2e Move new functions out of client_helper.cc 2019-02-27 12:04:32 -05:00
Vu Cong Tuan 9c4de5a0ff Fix typos in test code
Signed-off-by: Vu Cong Tuan <tuanvc@vn.fujitsu.com>
2019-02-27 09:11:01 +07:00
Michael Behr 60f060e078 Let interop_client send additional metadata, controlled by a flag. 2019-02-25 11:26:22 -05:00
Vijay Pai 80a0488d33
Make declaration match definition 2019-01-29 10:29:14 -08:00
apolcyn ec10359c7b
Merge pull request #17213 from apolcyn/add_cloud_to_prod_gcd_tests
Add an interop test specific to GoogleDefaultCreds
2019-01-27 23:47:59 -08:00
Jan Tattermusch 2b028c8cec do not use default server override for C++ interop client 2018-12-20 14:49:54 +01:00
Alexander Polcyn a4e9f33b85 Add interop cloud to prod test for GoogleDefaultCredentials 2018-12-07 17:19:17 -08:00
yang-g 67742ef63f Fix BUILD files. Manually edit bzl files 2018-12-06 14:37:52 -08:00
Vijay Pai a192fc6880 Fix clang-tidy issues 2018-11-11 14:32:55 -08:00
Yash Tibrewal a55d60056b Fix build 2018-10-26 17:16:17 -07:00
Juanli Shen e401a0898c
Merge pull request #16873 from AspirinSJL/add_interop
Add interop test into bazel build
2018-10-23 10:50:54 -07:00
Juanli Shen 800a09b24e Add interop test into bazel build 2018-10-22 16:50:07 -07:00
Jan Tattermusch 9de25dc1e6
Revert "Add c++ google default creds to cloud to prod auth scenarios" 2018-10-15 12:19:50 +02:00
Alexander Polcyn aea5f109a6 Add c++ google default creds to cloud to prod auth scenarios 2018-10-11 13:53:54 -07:00
Gleb Popov 39eb19ed35 Fix various tests on FreeBSD. 2018-09-22 22:41:39 +03:00
Adele Zhou 165417e4fa Change the test name to long_lived_channel 2018-09-12 14:30:02 -07:00
Adele Zhou 094dc6822c Added long_connection test. 2018-09-12 11:37:50 -07:00
Yihua Zhang f621eee4cf run cloud-to-prod interop tests with google default credentials 2018-08-10 11:31:15 -07:00
ncteisen 12f1cc059b Reviewer feedback 2018-07-18 07:33:08 -07:00
ncteisen b6597b4fbd Add two new soak interop tests 2018-07-17 17:12:26 -07:00
Noah Eisen 373fc6dc40 Manual fixes to enable performance- clang tidy checks 2018-06-14 14:58:09 -04:00
Noah Eisen 58e0cbf9fb Enable the performance-* clang-tidy checks 2018-06-14 14:58:09 -04:00
Juanli Shen 70eeade08e Fix bug in RunServer() 2018-05-08 10:22:50 -07:00
Alexander Polcyn 11c1739a10 Provide a way to run C++ interop server with custom ServerBuilderOptions 2018-05-03 23:01:43 -07:00
Yihua Zhang 0dcbb83420 add alts to interop tests 2018-04-20 08:50:45 -07:00
Vijay Pai c90a85649b Change grpc++ references in names to grpcpp 2018-03-08 22:04:59 -08:00
Noah Eisen 4d20a66685 Run clang fmt 2018-02-09 09:34:04 -08:00
Noah Eisen be82e64b3d Autofix c casts to c++ casts 2018-02-09 09:16:55 -08:00
Vijay Pai 239b7d4b0b Merge branch 'master' into gpr_review 2018-02-08 11:08:41 -08:00
Vijay Pai b1ef84a7fd Merge branch 'master' into gpr_review_host_port 2018-02-07 11:12:35 -08:00
Muxi Yan 6f0b195d20 Replace GRPC_COMPRESS_MESSAGE_* with GRPC_COMPRESS_* 2018-02-06 18:17:42 -08:00
Vijay Pai d4d0a30c6f Privatize useful.h and avl.h 2018-02-02 09:16:44 -08:00
Vijay Pai ae376bf9d9 Privatize host_port.h; was not used in any wrapped language implementation 2018-01-25 23:06:24 -08:00
Muxi Yan fb061c329a Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface 2018-01-19 12:20:15 -08:00
Mark D. Roth dbdf495f61 Split lib/support into lib/gpr and lib/gpr++. 2018-01-18 11:21:12 -08:00
yang-g 19d1eb2228 When seeing an error in interop test, also log the debug error string. 2017-12-19 16:41:51 -08:00
Muxi Yan c870ce5476 More message compression level clean-up 2017-12-11 15:53:22 -08:00
Muxi Yan 6043006af1 Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface 2017-12-06 22:29:12 -08:00
Muxi Yan 67454d71e8 Merge commit 'b0bad8f' into fix-stream-compression-config-interface 2017-12-06 22:09:36 -08:00
Muxi Yan fc38142db6 Merge commit 'b0bad8f^' into fix-stream-compression-config-interface 2017-12-06 22:02:08 -08:00
Muxi Yan 38fcd0c6c3 clang-format 2017-12-06 18:55:05 -08:00
Yang Gao 6a019e732a
Merge pull request #13329 from dwittmer/dwittmer_runserver
Add support to RunServer for notifying clients via condition variable that the interop server has started.
2017-12-04 09:51:23 -08:00
Dan Wittmer 472d7c9232 Fix formatting - missed moving ‘*’ next to type. 2017-11-17 15:49:11 -08:00
Dan Wittmer b88ab92af2 Fix formatting of RunServer params. 2017-11-17 15:23:32 -08:00
ncteisen adbfbd5977 Remove all extern C 2017-11-17 14:08:57 -08:00
Dan Wittmer 6d18fcd3ab Add ServerStartedCondition to hold the mutex, condition variable and condition. Changes allow callers to correctly handle spurious wakeups. 2017-11-16 16:45:23 -08:00
Dan Wittmer 728f1d2c44 s//used 2017-11-16 14:37:49 -08:00
Craig Tiller 4ac2b8e585 Enable clang-tidy as a sanity check, fix up all known failures 2017-11-10 14:14:17 -08:00
Dan Wittmer 572dd8e897 Change adds a version of grpc::testing::interop::RunServer that allows clients to pass in optional condition_variable which will be notified when the server has started and port to use, avoiding the need for callers to work with command line options.
Above is used to support clients running the server in a separate thread in the same process as the tests are run to support local only tests.

Existing grpc::testing::interop::RunServer calls into new version passing in FLAGS_port and null condition variable.
2017-11-09 12:01:31 -08:00
Yash Tibrewal 40422d5fa6 Merge master 2017-11-06 14:43:31 -08:00
Craig Tiller baa14a975e Update clang-format to 5.0 2017-11-03 09:09:36 -07:00
Yash Tibrewal 39aed1ae8b Remove unnecessary extern Cs 2017-10-25 17:04:35 -07:00
Muxi Yan 03fc857a6f Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface 2017-10-06 18:47:09 -07:00
yang-g 53a64b9936 Properly clean up stress test clients 2017-10-04 12:36:49 -07:00
Muxi Yan 8fa4d15513 Fix C++ builds 2017-09-26 09:53:55 -07:00
Nicolas "Pixel" Noble 2bc5e3ac40 Moving visibility and package creation to the build system. 2017-08-30 19:18:37 +02:00
Ken Payson f47c063d02 Restore interop_client_main
This target is used internally.
2017-07-13 18:30:26 -07:00
Nicolas "Pixel" Noble 61f21d91b8 Fixing merge failures on test/cpp/interop. 2017-07-13 19:36:00 +02:00
Nicolas "Pixel" Noble 5d80dc4985 Merge branch 'master' of https://github.com/grpc/grpc into import 2017-06-26 22:01:11 +02:00
Jan Tattermusch 4d5c3102a1 fix remaining license notices 2017-06-08 11:22:41 +02:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Nicolas "Pixel" Noble 7bc55fdaa3 Merge remote-tracking branch 'ctiller/build-wtf' into import 2017-05-26 00:32:47 +02:00
Nicolas "Pixel" Noble 7e5364781b Adding interop stress test. 2017-05-25 04:45:06 +02:00
Nicolas "Pixel" Noble d1c72ee33e Adding reconnect interop client and server. 2017-05-25 04:26:01 +02:00
Nicolas "Pixel" Noble c6dea730ca Realized that the interop BUILD file still uses cc_library and stuff. 2017-05-25 02:19:29 +02:00
Nicolas "Pixel" Noble 3dedf65b0f Fixing indentation + fixing interop_client. 2017-05-24 02:29:02 +02:00
Craig Tiller 840931eec9 More import fixes 2017-05-19 15:37:45 -07:00
Nicolas "Pixel" Noble af6c83f9e1 Adding dummy layering check option. 2017-05-19 01:53:56 +02:00
Craig Tiller a753371f05 Rework well_known_protos attr, and some other fixes 2017-05-16 13:09:33 -07:00
Yang Gao 305e4eba83 Merge pull request #10775 from yang-g/http2_client
Fix http2_interop test for c++ and python
2017-04-21 10:19:26 -07:00
yang-g 03876f66e1 Fix http2_interop test for c++ and python 2017-04-20 14:51:58 -07:00
Makarand Dharmapurikar bdd48ffaa3 added missing dependency 2017-04-20 11:10:46 -07:00
Makarand Dharmapurikar 6a8e2c2408 reduced visibility of test util 2017-04-18 13:09:52 -07:00
Makarand Dharmapurikar 5b8032c8b4 BUILD file for interop client and server 2017-04-18 12:07:10 -07:00
Makarand Dharmapurikar 7fb4036a17 clang-format fix 2017-04-13 09:07:47 -07:00
Makarand Dharmapurikar 220bc643f9 enable cacheable_unary test 2017-04-11 16:24:17 -07:00
Makarand Dharmapurikar e1b238458f modified caching test
added logic to test that cached response is specific to request payload.
Removed trailing '\0' from query parameter
2017-04-11 16:18:40 -07:00
Yuchen Zeng e4e763265b Add UpdateActions to the interop client helper 2017-04-04 16:28:59 -07:00
yang-g d0084c220e Include x.pb.h instead of x.grpc.pb.h for message-only protos 2017-03-06 11:23:35 -08:00
Eric Gribkoff 11a4ed80d6 refactor client 2017-03-01 22:22:38 -08:00
Eric Gribkoff caf7ea53be Enable C++ negative http2 test 2017-03-01 22:22:38 -08:00
Paul Marks 3a5bba0a20 Connect to "localhost" from interop clients.
This is for compatibility with IPv6-only environments; see the Google
bug b/32531998.

Note that InteropClient.cs and http2_client.cc don't appear to be tested
by our internal branch, but I've included them for consistency.
2017-02-07 16:28:09 -08:00
David Garcia Quintas e985cf57c2 Fixed invalid handling of slice data in interop_server 2017-02-02 19:19:01 -08:00
Jan Tattermusch bd0b0546a6 windows compilation fixes 2017-02-02 00:01:09 +01:00
Craig Tiller 7c70b6c144 Revert "Revert "Metadata handling rewrite""
This reverts commit 5e01e2ac97.
2017-01-23 07:48:42 -08:00
Craig Tiller 5e01e2ac97 Revert "Metadata handling rewrite" 2017-01-20 18:11:52 -08:00
Craig Tiller b7b7486c4b Merge github.com:grpc/grpc into metadata_filter 2017-01-20 11:31:47 -08:00
ncteisen 9c7a08d250 Simplify cpp stress flags 2017-01-18 16:58:33 -08:00
Craig Tiller 9d4fc31da4 Merge github.com:grpc/grpc into metadata_filter 2017-01-12 14:08:50 -08:00