Open tippmar-nr opened 5 months ago
The main purpose of this test scenario is to trigger a case that forces our instrumentation to make no assumptions about the return type used for these web request lambdas. The Stream type was chosen arbitrarily for these tests.
Some of our Lambda integration tests have function handlers that return a
Stream
rather than the usual response object. (seeApplicationLoadBalancerRequestHandlerReturnsStream
and other methods inLambdaSelfExecutingAssembly\Program.cs
).The integration tests pass as expected, but the lambda test tool fixture generates some errors that suggest that we might be doing something wrong in how we're returning the stream response.
We should investigate whether our implementation that returns a
Stream
is the correct way to do it in Lambda land.