dfawley
0c1d39df28
Separate incoming and outgoing metadata in context
...
This will prevent the incoming RPCs' metadata from appearing in outgoing RPCs
unless it is explicitly copied, e.g.:
incomingMD, ok := metadata.FromContext(ctx)
if ok {
ctx = metadata.NewContext(ctx, incomingMD)
}
Fixes #1148
2017-04-07 11:54:56 -07:00
Menghan Li
4acc9108c1
Merge pull request #1022 from ncteisen/http_interop
...
Add Go Client to Test Negative HTTP2 Conditions
2017-02-10 15:46:57 -08:00
Paul Marks
97c325c956
Replace "127.0.0.1" with "localhost" to support IPv6-only environments.
2017-02-07 16:08:24 -08:00
Adele Zhou
a050dbc887
Fix and modify logging.
2017-02-06 18:01:02 -08:00
Noah Eisen
9d8ac14538
Add Go interop http2 client
2017-01-10 15:05:15 -08:00
Menghan Li
ec1de5b416
call cancel on context in DoTimeoutOnSleepingServer
2017-01-05 13:01:42 -08:00
Adele Zhou
97b8c7c529
Set failfast to false for stress tests.
2016-12-27 16:56:55 -08:00
iamqizhao
f45b8d1e94
fix the flakiness of timeout_on_sleeping_server interop test
2016-11-23 11:35:48 -08:00
Qi Zhao
0d9891286a
Merge pull request #967 from ncteisen/advanced_go_interop_tests
...
Go Advanced Interop Tests
2016-11-11 13:29:59 -08:00
Noah Eisen
2769b6cafd
Fix comments from github
2016-11-10 16:50:37 -08:00
Noah Eisen
86765df8f8
Add comments and no longer export helper func
2016-11-02 15:19:21 -07:00
Noah Eisen
687c958422
Reimplement unimplemented_method and address gofmt issues
2016-11-02 14:53:28 -07:00
Noah Eisen
5b6bca7d0c
Add unimplemented test cases to Go interop client
...
Add UnimplementedService/UnimplementedCall and
TestService/UnimplementedCall to test.proto then regenerated the proto
file.
2016-11-02 09:49:56 -07:00
Noah Eisen
dc220c92c0
Add support for custom metadata to Go interop code
...
Write custom_metadata test case in Go interop client and add support for
metadata echoing in Go interop server.
2016-11-02 09:20:52 -07:00
Mahak Mukhi
883bfc7bc8
pb.go file update
2016-10-28 12:37:56 -07:00
Mak Mukhi
727a60e4d1
update server reflection code to comply with the change to the grpc generator
2016-10-21 18:06:55 -07:00
Mark D. Roth
951b6cc1da
Code review changes.
2016-09-30 07:44:08 -07:00
Mark D. Roth
5823568fcb
Code review changes.
2016-09-29 07:24:20 -07:00
Mark D. Roth
23e20165e0
Code review changes.
2016-09-28 13:53:27 -07:00
Mark D. Roth
6fd077118b
Merge remote-tracking branch 'upstream/master' into status_interop_test
2016-09-28 13:48:46 -07:00
Menghan Li
18f8a8be26
set interop default server_host_override to empty string
2016-09-09 10:24:20 -07:00
Mark D. Roth
44e75c33ee
Code review changes.
2016-08-26 12:59:51 -07:00
Mark D. Roth
121344c9ee
Code review changes.
2016-07-07 11:32:46 -07:00
Mark D. Roth
de2db99c84
Code review changes.
2016-07-07 07:39:32 -07:00
Mark D. Roth
f9584a00cf
Move the server-side handling code from StreamingOutputCall to FullDuplexCall.
2016-07-01 09:32:29 -07:00
Mark D. Roth
fa1bb7b833
For FullDuplex() call, check error from stream.Recv() instead of stream.CloseSend().
2016-07-01 09:12:45 -07:00
Mark D. Roth
7a971bb142
Fix check for error string.
2016-07-01 09:04:20 -07:00
Mark D. Roth
0eec1573d0
Fix NULL pointer dereference.
2016-07-01 08:50:57 -07:00
Mark D. Roth
84352c6400
Change interop server to support response_status field.
2016-07-01 07:51:35 -07:00
Mark D. Roth
d7ac54924b
Add status_code_and_message interop test. (Does not yet work, because
...
the server does not yet support the response_status field.)
2016-06-30 14:57:30 -07:00
Mark D. Roth
714db19b0b
Add response_status field to test.proto.
2016-06-30 14:44:55 -07:00
Menghan Li
abe672d5ed
Update generated files
2016-06-10 14:20:04 -07:00
Qi Zhao
88aeffff97
Merge pull request #720 from menghanl/update_generated_files
...
Update generated proto files and Makefile
2016-06-10 11:45:47 -07:00
Menghan Li
0da018f37e
Update generated files
2016-06-09 15:02:17 -07:00
Menghan Li
59486d9c17
Rename TransportAuthenticator to TransportCredentials
2016-06-08 11:19:25 -07:00
iamqizhao
61e92eacc3
Phase 1 to add the server interceptor
2016-04-18 16:18:34 -07:00
Menghan Li
62a892fc16
Move interop log from utils to client main
2016-04-04 16:00:19 -07:00
Tamir Duberstein
accbf4c185
`make proto`
2016-02-04 17:35:04 -05:00
iamqizhao
855235934b
fix some comments
2015-12-18 18:25:28 -08:00
iamqizhao
453b255dda
gofmt
2015-12-18 16:50:38 -08:00
iamqizhao
7239e4afea
Refactor interop tests
2015-12-18 16:26:06 -08:00
Julien Boeuf
123c91d04f
Updating the test SSL certs.
...
- For interoperability testing, we need the same certs everywhere.
- This was not possible before because Go could not deal with some field
being encoded as PRINTABLESTRING in the CA and UTF8STRING in the
server1 cert. However, the certs have been fixed in:
https://github.com/grpc/grpc/pull/4096
- Also changed the go root testdata cert to avoid confusion (maybe there
should not be that many copy of the certs in the repo but I will leave
this to the repo maintainers).
2015-11-11 14:50:21 -08:00
iamqizhao
7afe4e5cec
rename some interop client flags
2015-10-20 16:49:37 -07:00
iamqizhao
a15e3b9562
decodeFunc -> dec
2015-10-01 16:26:00 -07:00
iamqizhao
1d81cf4f22
fix all the generated code
2015-10-01 14:35:07 -07:00
iamqizhao
6be470f058
Credentials API and jwtAccess implementation tunning
2015-08-28 16:51:45 -07:00
iamqizhao
100ca6a0da
fix benchmark, interop and examples
2015-08-27 17:32:57 -07:00
iamqizhao
d12ff72146
allow access of some info of client certificate
2015-08-21 15:49:53 -07:00
iamqizhao
1fedb82059
correct a test case name
2015-08-17 13:23:09 -07:00
yangzhouhan
dd6b930e09
minor change
2015-08-14 17:18:12 -07:00