David Garcia Quintas
2e1bb1bf4d
Reverted unnecessary changes to server
9 years ago
David Garcia Quintas
cd37d5852b
Added new tests for compression
9 years ago
Abhishek Kumar
e1c867dbee
Added interop test for status_code_with_message
9 years ago
yang-g
dc71eeba7b
remove braces
9 years ago
yang-g
3d769d7f23
notify inside lock
9 years ago
yang-g
4f61528b96
Support two clients calling start simultaneously
9 years ago
yang-g
c9c69e27da
Add reconnect interop test client and server
9 years ago
David Garcia Quintas
7c0d914cce
wip for accept-encoding into tests
9 years ago
Julien Boeuf
fe4c3f4f14
Renaming jwt_credentials to service_account_jwt_access_credentials.
9 years ago
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
9 years ago
David Garcia Quintas
80f3995e47
wip
9 years ago
David Garcia Quintas
9c512bdf98
wip
9 years ago
yang-g
463cde7cf9
update according to spec change
10 years ago
David Garcia Quintas
6dd49a5c8f
Added some methods to context inspector. Also minor tweak to server context IsCancelled() method
10 years ago
David Garcia Quintas
e410986635
clang-format'd.
10 years ago
yang-g
8c31ee2751
update according to spec change
10 years ago
yang-g
5bf510bba1
add per_rpc_creds test case in interop test
10 years ago
David Garcia Quintas
3922005878
Introduced InteropContextInspector to be able to peek into server contexts during interop testing.
10 years ago
David Garcia Quintas
8d9f830168
Introduced InteropContextInspector to be able to peek into server contexts during interop testing.
10 years ago
yang-g
be5f059219
Add oauth2_auth_token test case in interop test
10 years ago
yang-g
69563b9124
Add timeout interop test case
10 years ago
Yang Gao
c1a2c314fb
Update the Status API
10 years ago
Masood Malekghassemi
701af6031f
Expose gpr_asprintf and gpr_strdup
10 years ago
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
10 years ago
Yang Gao
a89389283f
support per call credentials in c++
10 years ago
zeliard
3e3e0ad348
merge from upstream (grpc) master
10 years ago
Yang Gao
68d615737b
Add two scenarios in interop test
10 years ago
Yang Gao
c4b6ffb1b6
Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free.
10 years ago
Abhishek Kumar
60572d422b
Move .proto files up for reuse
10 years ago
Abhishek Kumar
1b3e3cd75b
Moving test.proto to an outer directory so others can depend on it.
10 years ago
Yang Gao
103837ee6b
Wrap ParseCommandLineFlags in InitTest
10 years ago
Yang Gao
eaccf90aef
Return 1 when test_case is not supported in interop test
10 years ago
Yang Gao
a40020788f
Split interop client and server into components
10 years ago
Nicolas "Pixel" Noble
0caebbfcfe
Splitting gRPC service class codegen into its own set of files.
10 years ago
Nicolas "Pixel" Noble
a05b8b7b25
Removing a few more references to #include <chrono>
10 years ago
Nicolas Noble
89219162dd
Refactoring std::chrono out.
10 years ago
vjpai
6130809a8b
Work around a compiler limitation caused by inability to properly handle
...
vectors created from initializer list
10 years ago
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.
10 years ago
Yang Gao
3c220dfc32
Print out status when it is not ok in interop tests
10 years ago
Yang Gao
6baa9b67ad
clang-format c++ code
10 years ago
Yang Gao
7d6b184f57
add a jwt test case for interop test
10 years ago
Yang Gao
25770b02d6
add jwt token creds test_case
10 years ago
Craig Tiller
c5ba0e56a0
Make it possible to compile with gcc4.6
10 years ago
Craig Tiller
cf133f41f8
Make it possible to compile with gcc4.6
10 years ago
Julien Boeuf
597a4f2273
Verifying the peer name on the X509 Certs correctly.
...
- The SANs take precedence over the CN.
- The CN is only checked if there are no SANs.
- Fixing the tests as the test cert did not list *.test.google.com in
the SANs. Will fix the test cert another time...
10 years ago
Craig Tiller
42bc87c097
Update C++ server with new core API
...
And reflects the C++ API in ServerBuilder.
10 years ago
Craig Tiller
47c83fdaf7
Credentials prototyping
...
- Remove CredentialsFactory as it's unnecessary
- Effectively make Credentials a channel factory, allowing different credential types to create different channel types - this gives us a hook so that InsecureCredentials can at runtime instantiate a different kind of channel as required - giving us a way of generating an openssl free version of grpc++.
- Server credentials not touched yet, but they'll need to be updated.
10 years ago
Craig Tiller
fe8af4e2e9
Rename interop_test.c --> interop_test.cc
...
We have many assumptions about languages baked into the test system, and we want this test harness to trigger when testing C++ stuff, so it needs to be written in C++.
10 years ago
Craig Tiller
2f3e2ec865
Make interop server respond to sigint
...
This will allow the test to shut down cleanly, and avoid failing.
10 years ago
Yang Gao
bbd67c0499
clean up some internal path and names
10 years ago