codegen: Protocol tests for endpoint prefix are skipped #1631
Labels
automation-exempt
bug
This issue is a bug.
l
Effort estimation: large
p2
This is a standard priority issue
Documentation
Describe the bug
The SDK's protocol test code generation skips protocol tests that exercise endpoint prefix and host label traits. The SDK fully supports these features, but the protocol test runner expects the HTTP request to be made to a local test server. This is not valid for these tests since the endpoint prefix and host label modifies the endpoint, since endpoints are IP addresses, (e.g.
http://foo.127.0.0.1:59850/
).Expected behavior
The tests cases should not be skipped, and test runner should exercise them correctly.
Current behavior
endpoint prefix and host label tests are skipped
Steps to Reproduce
Possible Solution
Update the generated test runner not to use test HTTP server. Instead process the HTTP request directly.
AWS Go SDK version used
release-2022-03-16
Compiler and Version used
go1.18
Operating System and version
macOS 12.2.1
The text was updated successfully, but these errors were encountered: