-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add server extra tests #1425
Add server extra tests #1425
Conversation
A new generated diff is ready to view.
A new doc preview is ready to view. Rust Wrk benchmark report:Duration: 90 sec, Connections: 32, Threads: 2
|
Depends on #1424 |
@@ -660,7 +660,6 @@ class ServerProtocolTestGenerator( | |||
FailingTest(RestJson, "RestJsonHttpWithEmptyStructurePayload", TestType.Request), | |||
FailingTest(RestJson, "RestJsonHttpResponseCodeDefaultsToModeledCode", TestType.Response), | |||
|
|||
FailingTest(RestJson, "RestJsonWithPayloadExpectsImpliedAccept", TestType.MalformedRequest), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a leftover from your other PR. It's causing CI to fail here, since we're not fixing this test in this PR.
@@ -0,0 +1,126 @@ | |||
$version: "1.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't copy the contents of this file. Symlink it so that both client and server use the same model. See simple.smithy
for example.
➜ file codegen-test/model/simple.smithy
codegen-test/model/simple.smithy: symbolic link to ../../codegen-server-test/model/simple.smithy
Comply with content-types as described in the documentation [0] [0] https://awslabs.github.io/smithy/1.0/spec/aws/aws-restjson1-protocol.html#content-type Signed-off-by: Daniele Ahmed <ahmeddan@amazon.com>
Signed-off-by: Daniele Ahmed <ahmeddan@amazon.de>
Add rest-json-extras.smithy and protocol tests that are now failing in smithy-rs, but are not correct from smithy Closes: #1164 Signed-off-by: Daniele Ahmed <ahmeddan@amazon.de>
Signed-off-by: Daniele Ahmed <ahmeddan@amazon.de>
Signed-off-by: Daniele Ahmed <ahmeddan@amazon.de>
A new generated diff is ready to view.
A new doc preview is ready to view. Rust Wrk benchmark report:Duration: 90 sec, Connections: 32, Threads: 2
|
Signed-off-by: Daniele Ahmed <ahmeddan@amazon.de>
A new generated diff is ready to view.
A new doc preview is ready to view. Rust Wrk benchmark report:Duration: 90 sec, Connections: 32, Threads: 2
|
Motivation and Context
See: #1164
Description
Tests:
Testing
Checklist
CHANGELOG.next.toml
if I made changes to the smithy-rs codegen or runtime cratesCHANGELOG.next.toml
if I made changes to the AWS SDK, generated SDK code, or SDK runtime cratesBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.