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
Eric Gribkoff
ebb3d5d4fc
Merge pull request #9139 from ericgribkoff/http2_client
...
Add HTTP/2 interop test client
Known failures: https://github.com/grpc/grpc/issues/8629
2017-01-11 17:45:30 -08:00
yang-g
cc5910228d
manual revert of #8901
2017-01-11 11:10:43 -08:00
Eric Gribkoff
c344e87449
Adds HTTP/2 interop test client
2017-01-11 09:14:28 -08:00
Craig Tiller
e4fae4ef9f
clang-format
2017-01-10 17:01:51 -08:00
Craig Tiller
f3ed2bf8ca
Fix interop
2017-01-10 17:01:26 -08:00
Sree Kuchibhotla
7eef316e20
Fix metrics server
2016-12-16 11:30:35 -08:00
Craig Tiller
76b7ab431a
Interop test might take a little longer to start up (esp. w/tsan)
2016-12-05 15:55:18 -08:00
David Garcia Quintas
7fa08e24b0
Fix data race with atomic for interop c++
2016-12-04 22:12:01 -08:00
Craig Tiller
3b45b8d60b
Revert "Test credentials provider update"
2016-11-29 12:31:14 -08:00
yang-g
b9d57ed665
!
2016-11-23 13:19:21 -08:00
yang-g
a7ef49bf6a
Support custom credential type in interop
2016-11-23 10:55:03 -08:00
yang-g
8e9fc9bd0e
Test credentials provider update
2016-11-22 23:12:49 -08:00
Vijay Pai
320ed13d3e
Deprecate grpc::thread and sync in favor of std::thread,mutex,etc
2016-11-01 17:16:55 -07:00
Noah Eisen
45ebd355cd
Fix clang format
2016-10-28 16:08:04 -07:00
Noah Eisen
e7223afdd5
Use default Empty ctor instead of Empty::default_instance
2016-10-28 13:39:06 -07:00
Noah Eisen
ca5cdf454c
Add unimplemented_service test case for cpp interop client
2016-10-27 18:01:37 -07:00
makdharma
b40a8fa95b
Merge pull request #8437 from makdharma/stress_test_options
...
modify stress_test command line options
2016-10-25 09:30:12 -07:00
Mark D. Roth
99e61f884d
Merge pull request #8418 from markdroth/interop_flags
...
Allow specifying extra flags for C++ interop server.
2016-10-21 15:07:28 -07:00
Makarand Dharmapurikar
f01f7b6d6c
clang-format fixes
2016-10-21 09:07:06 -07:00
Makarand Dharmapurikar
e3dd1d7d11
modify stress_test command line options
...
Modify command line options to be consistent with interop_client.
2016-10-20 10:37:39 -07:00
Noah Eisen
32eee7739b
Changed name of rpc method to fit with the conventional naming. Also fixed type in interop client flag help message
2016-10-19 10:04:38 -07:00
Mark D. Roth
24301717d4
Allow specifying extra flags for C++ interop server.
2016-10-18 14:10:28 -07:00
Mark D. Roth
948f95b2ce
Merge pull request #7201 from markdroth/run_interop_tests_go
...
Fix status_code_and_message interop test for C++ and PHP. Change run_interop_tests.py to run this test for C++ and Go.
2016-10-18 11:08:18 -07:00
Mark D. Roth
5e258bf32b
clang-format
2016-10-14 14:59:19 -07:00
Noah Eisen
83dd3aa7e0
changed whitespace
2016-10-12 15:40:11 -07:00
Noah Eisen
40860c4488
reverting a file for the last commit caused a function to be deleted from interop_client. This commit adds that function back in
2016-10-12 15:38:46 -07:00
Noah Eisen
f8ffbf62a2
also reverted interop server, since mark had already made the changes I did in an un merged pull request
2016-10-12 15:32:42 -07:00
Noah Eisen
cece9c7368
manually fixed merge conflict. caused by the addition of a different new interop test
2016-10-12 15:04:45 -07:00
David Garcia Quintas
b5299976c1
Fixed clang-format sanity error
2016-10-12 14:13:42 -07:00
makdharma
5ef0c0041f
Merge pull request #8101 from makdharma/cacheable_unary
...
Add interop test for Cacheable Unary Calls
2016-10-12 10:53:56 -07:00
Noah Eisen
2cef11c667
added status request ability to the FullDuplexCall so that cpp server can pass the node client's status_code_and_message test
2016-10-07 15:35:48 -07:00
Makarand Dharmapurikar
b58c2db616
yet another gcc 4.4 compile fix.
2016-09-30 16:21:11 -07:00
Makarand Dharmapurikar
c9beacadb1
fix for gcc 4.4 warning
2016-09-30 11:26:13 -07:00
Mark D. Roth
43b817ced1
Merge remote-tracking branch 'upstream/master' into run_interop_tests_go
2016-09-30 07:48:00 -07:00
Noah Eisen
98b3663f6c
Fixed type in comments
2016-09-29 14:00:47 -07:00
Noah Eisen
0adb728083
removed check for status error message. Investigating why node servers send messages back that are not empty
2016-09-29 12:01:11 -07:00
Noah Eisen
02e70ed120
changed method name in test.proto to more accurately reflect how the calls will be used
2016-09-28 14:17:25 -07:00
Makarand Dharmapurikar
af564a1e92
changed timestamp clock from REALTIME to PRECISE
...
to increase robustness
2016-09-28 12:50:37 -07:00
Noah Eisen
a27eb1d07a
added the unimplemented_call test to interop_client.cc. Next step is to call this from the driver program, run_interop_tests.py
2016-09-28 12:19:52 -07:00
Makarand Dharmapurikar
012fc18be9
doc fixes and max-age set to 60
2016-09-28 10:46:27 -07:00
Makarand Dharmapurikar
42511cfd8b
Addressed review feedback
...
1. modified documentation
2. changed test slightly to make it more robust to accidental cache hits
2016-09-27 18:15:54 -07:00
Mark D. Roth
abf03aed93
Merge remote-tracking branch 'upstream/master' into max_send_size_filter
2016-09-16 07:35:37 -07:00
Makarand Dharmapurikar
1ed0b8e3d7
Add interop test for Cacheable Unary Calls
...
modified interop test spec doc
added CacheableUnaryCall to test.proto
modified server and client implmenentations to support new method
2016-09-14 15:01:16 -07:00
Mark D. Roth
c99fd89d32
Increase max send message size on server used in objc tests.
2016-09-06 08:16:13 -07:00
David Garcia Quintas
f3581bf90a
Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse
2016-08-30 04:45:50 -07:00
Mark D. Roth
366c6ceb8c
Merge remote-tracking branch 'upstream/master' into run_interop_tests_go
2016-08-26 13:01:15 -07:00
Vijay Pai
96b7b52190
Fix exit condition
2016-08-01 09:33:38 -07:00
David Garcia Quintas
c79b0650d2
removed codegen/log.h
2016-07-27 21:11:58 -07:00
David Garcia Quintas
6b11462da1
removed codegen/alloc.h
2016-07-27 14:49:53 -07:00
Nicolas "Pixel" Noble
6570b83c9c
Splitting interop_server.cc
2016-07-18 23:42:35 +02:00
Mark D. Roth
b9151e3c0b
Use separate client context object for full duplex call.
2016-07-07 08:36:26 -07:00
Mark D. Roth
dbf2adc980
Fix C++ status_code_and_message test to comply with the spec.
...
Enable C++ test in run_interop_tests.py.
2016-07-07 08:19:27 -07:00
Sree Kuchibhotla
d2a4fd4385
Merge branch 'master' into stress_test_metrics_fix
2016-06-30 14:17:51 -07:00