-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement stream operations in the conformance client (#196)
This doesn't (yet) run the conformance tests for stream operations in CI because there are some flaky failures that need a little more troubleshooting to stabilize.
- Loading branch information
Showing
28 changed files
with
392 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# OkHttp seems to have a bug where timeout is not properly | ||
# enforced when request body is full-duplex. | ||
Timeouts/HTTPVersion:2/**/bidi half duplex timeout | ||
Timeouts/HTTPVersion:2/**/bidi full duplex timeout | ||
|
||
# Connect-kotlin does not have a way to limit the size of messages | ||
# received. It probably should. Despite this, many cases in this suite | ||
# still pass, so they are likely not exercising what we think they are. | ||
# TODO: add flag to config yaml for whether implementation supports | ||
# a receive size limit | ||
Client Message Size/**/Compression:COMPRESSION_GZIP/TLS:false/**/client stream first request exceeds client limit | ||
Client Message Size/**/Compression:COMPRESSION_GZIP/TLS:false/**/client stream subsequent request exceeds client limit | ||
Client Message Size/**/Compression:COMPRESSION_GZIP/TLS:false/**/client stream all requests equal to client limit | ||
Client Message Size/**/Compression:COMPRESSION_GZIP/TLS:false/**/server stream request equal to client limit | ||
Client Message Size/**/Compression:COMPRESSION_GZIP/TLS:false/**/server stream request exceeds client limit |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This configures the features that this client | ||
# supports and that will be verified by the | ||
# conformance test suite. | ||
features: | ||
versions: | ||
- HTTP_VERSION_1 | ||
- HTTP_VERSION_2 | ||
protocols: | ||
- PROTOCOL_CONNECT | ||
- PROTOCOL_GRPC | ||
- PROTOCOL_GRPC_WEB | ||
codecs: | ||
- CODEC_PROTO | ||
# Lite does not support JSON | ||
compressions: | ||
- COMPRESSION_IDENTITY | ||
- COMPRESSION_GZIP | ||
streamTypes: | ||
# This config file only runs stream RPC test cases. | ||
- STREAM_TYPE_CLIENT_STREAM | ||
- STREAM_TYPE_SERVER_STREAM | ||
- STREAM_TYPE_HALF_DUPLEX_BIDI_STREAM | ||
- STREAM_TYPE_FULL_DUPLEX_BIDI_STREAM | ||
# TODO: get client certs working and uncomment this | ||
#supportsTlsClientCerts: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.